From d121765e88cb8a424c56d372c9cdd042297154a0 Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 5 Dec 2025 12:21:18 +0100 Subject: [PATCH] feat(lib/client): now adding all the Gateway needed for the bot --- src/lib/client.ts | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/lib/client.ts b/src/lib/client.ts index 3fa9cbb..76d6e7f 100644 --- a/src/lib/client.ts +++ b/src/lib/client.ts @@ -1,13 +1,18 @@ -import { - Client, - GatewayIntentBits, -} from 'discord.js'; +import { Client, GatewayIntentBits } from 'discord.js'; export const client: Client = new Client({ intents: [ GatewayIntentBits.Guilds, + GatewayIntentBits.GuildModeration, + GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent, - GatewayIntentBits.GuildMembers, + GatewayIntentBits.GuildMessageReactions, + GatewayIntentBits.GuildMessageTyping, + GatewayIntentBits.GuildVoiceStates, + GatewayIntentBits.DirectMessages, + GatewayIntentBits.DirectMessageReactions, + GatewayIntentBits.AutoModerationConfiguration, + GatewayIntentBits.AutoModerationExecution, ], });