Revert "now added global commands" (DMs can crash the bot currently)
This commit is contained in:
1
main.go
1
main.go
@@ -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)
|
||||
|
Reference in New Issue
Block a user