now added global commands

This commit is contained in:
2024-03-20 15:29:06 +01:00
parent 79988a1ab4
commit 85769dcc53
2 changed files with 17 additions and 32 deletions

View File

@@ -42,7 +42,6 @@ func main() {
}
bot.Identify.Intents = discordgo.IntentsGuildMessages | discordgo.IntentsGuilds | discordgo.IntentMessageContent | discordgo.IntentGuildMembers
bot.AddHandler(ready)
bot.AddHandler(guildCreate)
bot.AddHandler(interactionCreate)
bot.AddHandler(messageCreate)
bot.AddHandler(messageDelete)