Revert "now added global commands" (DMs can crash the bot currently)

This commit is contained in:
2024-03-20 15:44:46 +01:00
parent 85769dcc53
commit 8774281d82
2 changed files with 32 additions and 17 deletions

View File

@@ -42,6 +42,7 @@ 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)