Allow bot to respond to DM's
This commit is contained in:
parent
886a447082
commit
ac6d30e085
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user