discord: add private dm support

This commit is contained in:
Chris Sexton 2022-08-11 06:25:22 -04:00
parent f28026436a
commit 69cd263b70
1 changed files with 1 additions and 0 deletions

View File

@ -240,6 +240,7 @@ func (d *Discord) Serve() error {
d.client.Identify.Intents = discordgo.MakeIntent(
discordgo.IntentsGuilds |
discordgo.IntentsGuildMessages |
discordgo.IntentsDirectMessages |
discordgo.IntentsGuildEmojis |
discordgo.IntentsGuildMessageReactions)