mirror of https://github.com/velour/catbase.git
discord: add private dm support
This commit is contained in:
parent
f28026436a
commit
e1ccd553f1
|
@ -240,6 +240,7 @@ func (d *Discord) Serve() error {
|
||||||
d.client.Identify.Intents = discordgo.MakeIntent(
|
d.client.Identify.Intents = discordgo.MakeIntent(
|
||||||
discordgo.IntentsGuilds |
|
discordgo.IntentsGuilds |
|
||||||
discordgo.IntentsGuildMessages |
|
discordgo.IntentsGuildMessages |
|
||||||
|
discordgo.IntentsDirectMessages |
|
||||||
discordgo.IntentsGuildEmojis |
|
discordgo.IntentsGuildEmojis |
|
||||||
discordgo.IntentsGuildMessageReactions)
|
discordgo.IntentsGuildMessageReactions)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue