From ac6d30e085583fe19adb94a46c2f619b023b2b67 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Thu, 25 Aug 2022 08:23:35 -0500 Subject: [PATCH] Allow bot to respond to DM's --- cmd/bb/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/bb/main.go b/cmd/bb/main.go index 4e339ee..8742940 100644 --- a/cmd/bb/main.go +++ b/cmd/bb/main.go @@ -54,7 +54,7 @@ func main() { dg.AddHandler(h.Handle) } - dg.Identify.Intents = discordgo.IntentsGuildMessages + dg.Identify.Intents = discordgo.IntentsGuildMessages | discordgo.IntentsDirectMessages err = dg.Open() if err != nil {