fixed commands in DMs and added global commands back

This commit is contained in:
2024-03-20 16:28:28 +01:00
parent 8774281d82
commit 71318359e3
6 changed files with 26 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)