got subcommands working
This commit is contained in:
2
main.go
2
main.go
@@ -73,7 +73,7 @@ func generateDynamicChoices(count int) []*discordgo.ApplicationCommandOptionChoi
|
||||
var commandUseCount int
|
||||
|
||||
func interactionCreate(s *discordgo.Session, i *discordgo.InteractionCreate) {
|
||||
if i.ApplicationCommandData().Name == "get" {
|
||||
if i.ApplicationCommandData().Name == "tag" {
|
||||
tag_command.Interaction(s, i)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user