From 6bad3415a66172594f05069ad33b322c0bb10169 Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 14 Nov 2025 22:12:34 +0100 Subject: [PATCH] feat(index): replacing the variable with the new lib/client --- src/index.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/index.ts b/src/index.ts index a92ea3b..a77431f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,22 +2,12 @@ import fs from 'node:fs'; import path from 'node:path'; import 'dotenv/config'; import { - Client, Collection, - GatewayIntentBits, REST, Routes, } from 'discord.js'; import { log } from '@lib/log'; - -const client = new Client({ - intents: [ - GatewayIntentBits.Guilds, - GatewayIntentBits.GuildMessages, - GatewayIntentBits.MessageContent, - GatewayIntentBits.GuildMembers, - ], -}); +import { client } from '@lib/client'; client.commands = new Collection();