From e1ccd553f147d5cadfea6c7ea8fd42091a31b7f3 Mon Sep 17 00:00:00 2001 From: Chris Sexton <3216719+chrissexton@users.noreply.github.com> Date: Thu, 11 Aug 2022 06:25:22 -0400 Subject: [PATCH] discord: add private dm support --- connectors/discord/discord.go | 1 + 1 file changed, 1 insertion(+) diff --git a/connectors/discord/discord.go b/connectors/discord/discord.go index a7f46ac..950c1c9 100644 --- a/connectors/discord/discord.go +++ b/connectors/discord/discord.go @@ -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)