got subcommands working

This commit is contained in:
2024-02-15 14:09:32 +01:00
parent 4eb48cbfe1
commit 191b110846
2 changed files with 39 additions and 35 deletions

View File

@@ -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)
}
}