Allow bot to respond to DM's

This commit is contained in:
Ryan Cavicchioni 2022-08-25 08:23:35 -05:00
parent 886a447082
commit ac6d30e085
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -54,7 +54,7 @@ func main() {
dg.AddHandler(h.Handle) dg.AddHandler(h.Handle)
} }
dg.Identify.Intents = discordgo.IntentsGuildMessages dg.Identify.Intents = discordgo.IntentsGuildMessages | discordgo.IntentsDirectMessages
err = dg.Open() err = dg.Open()
if err != nil { if err != nil {