mirror of
https://github.com/velour/catbase.git
synced 2025-04-05 12:31:42 +00:00
discord: add private dm support
This commit is contained in:
parent
f28026436a
commit
69cd263b70
@ -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…
x
Reference in New Issue
Block a user