feat(lib/client): now client is extern to be called on all function needed

This commit is contained in:
Raphael 2025-11-14 22:10:13 +01:00 committed by Raphaël
parent eb7cae0952
commit 7b365660f5

13
src/lib/client.ts Normal file
View file

@ -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,
],
});