feat(lib/client): now client is extern to be called on all function needed
This commit is contained in:
parent
eb7cae0952
commit
7b365660f5
1 changed files with 13 additions and 0 deletions
13
src/lib/client.ts
Normal file
13
src/lib/client.ts
Normal 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,
|
||||
],
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue