aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHellyson Rodrigo Parteka <[email protected]>2021-11-17 01:48:48 -0300
committerMax Isom <[email protected]>2021-11-20 19:01:52 -0500
commit5cc74a3d51adf75db44d7102734ba5f95429be24 (patch)
tree734b595606cc71b336c155956a39fd651c4ac51f /src
parentebdf5a3deb6b8dbc4f16c500478dc43186e061ad (diff)
downloadmuse-5cc74a3d51adf75db44d7102734ba5f95429be24.tar.xz
muse-5cc74a3d51adf75db44d7102734ba5f95429be24.zip
fix: add missing `DIRECT_MESSAGES` intent
Diffstat (limited to 'src')
-rw-r--r--src/inversify.config.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/inversify.config.ts b/src/inversify.config.ts
index c6809d2..b45c588 100644
--- a/src/inversify.config.ts
+++ b/src/inversify.config.ts
@@ -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