Skip to content

Commit

Permalink
Enable channel partials for DMs
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorumin committed Aug 9, 2021
1 parent c26f987 commit 8ffe571
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Twinkle.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,13 @@ class Twinkle {
// Listening for commands in DM
Intents.FLAGS.DIRECT_MESSAGES,
// Reactions on commands like !help
Intents.FLAGS.DIRECT_MESSAGE_REACTIONS
].concat(config.TWINKLE.INTENTS || [])
Intents.FLAGS.DIRECT_MESSAGE_REACTIONS,
Intents.FLAGS.DIRECT_MESSAGE_TYPING,
Intents.FLAGS.GUILD_PRESENCES,
].concat(config.TWINKLE.INTENTS || []),
partials: [
'CHANNEL'
]
});
this.config = config.TWINKLE;
this.operators = this.config.OPERATORS;
Expand Down

0 comments on commit 8ffe571

Please sign in to comment.