mirror of
https://github.com/BluemediaGER/muse.git
synced 2024-11-12 21:05:29 +01:00
fix: add missing DIRECT_MESSAGES
intent
This commit is contained in:
parent
9ee723b885
commit
96bf53b28a
|
@ -37,6 +37,7 @@ const intents = new Intents();
|
|||
intents.add(Intents.FLAGS.GUILDS); // To listen for guildCreate event
|
||||
intents.add(Intents.FLAGS.GUILD_MESSAGES); // To listen for messages (messageCreate event)
|
||||
intents.add(Intents.FLAGS.DIRECT_MESSAGE_REACTIONS); // To listen for message reactions (messageReactionAdd event)
|
||||
intents.add(Intents.FLAGS.DIRECT_MESSAGES); // To receive the prefix message
|
||||
intents.add(Intents.FLAGS.GUILD_VOICE_STATES); // To listen for voice state changes (voiceStateUpdate event)
|
||||
|
||||
// Bot
|
||||
|
|
Loading…
Reference in a new issue