discord: add private dm support

This commit is contained in:
Chris Sexton 2022-08-11 06:25:22 -04:00
parent f28026436a
commit e1ccd553f1
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)