summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-11-08 22:32:37 -0800
committerFuwn <[email protected]>2025-11-08 22:32:37 -0800
commita83411f3f156b1956e28036454b641059d8e3344 (patch)
treefc056d458411aeb0fb1d36188f26e6dca52ba540
parentfeat(gateway:listeners): Add a reaction roles handler (diff)
downloadumabotdiscord-a83411f3f156b1956e28036454b641059d8e3344.tar.xz
umabotdiscord-a83411f3f156b1956e28036454b641059d8e3344.zip
fix(gateway:reactionRoles): Update intents
-rw-r--r--packages/gateway/src/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/gateway/src/index.ts b/packages/gateway/src/index.ts
index e0d55f5..35990ac 100644
--- a/packages/gateway/src/index.ts
+++ b/packages/gateway/src/index.ts
@@ -13,8 +13,9 @@ const client = new Client({
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildVoiceStates,
GatewayIntentBits.DirectMessages,
+ GatewayIntentBits.GuildMessageReactions,
],
- partials: [Partials.Channel],
+ partials: [Partials.Channel, Partials.Reaction, Partials.User],
});
handleCommands(client);