From 7b365660f53f8746084e1391dbb19f25e5d88524 Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 14 Nov 2025 22:10:13 +0100 Subject: [PATCH] feat(lib/client): now client is extern to be called on all function needed --- src/lib/client.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/lib/client.ts diff --git a/src/lib/client.ts b/src/lib/client.ts new file mode 100644 index 0000000..3fa9cbb --- /dev/null +++ b/src/lib/client.ts @@ -0,0 +1,13 @@ +import { + Client, + GatewayIntentBits, +} from 'discord.js'; + +export const client: Client = new Client({ + intents: [ + GatewayIntentBits.Guilds, + GatewayIntentBits.GuildMessages, + GatewayIntentBits.MessageContent, + GatewayIntentBits.GuildMembers, + ], +});