mirror of
https://github.com/arthur-pbty/gestion.git
synced 2026-06-03 23:36:35 +02:00
blablabla du kaka
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
require('dotenv').config();
|
||||
const { Client, IntentsBitField, Collection } = require("discord.js");
|
||||
|
||||
const loadCommands = require("./loaders/loadCommands")
|
||||
const loadEvents = require("./loaders/loadEvents");
|
||||
const client = new Client({intents: new IntentsBitField(3276799)});
|
||||
|
||||
client.on('ready', () => {
|
||||
console.log(`Logged in as ${client.user.tag}!`);
|
||||
});
|
||||
|
||||
(async () => {
|
||||
await loadCommands(client);
|
||||
await loadEvents(client);
|
||||
await client.login(process.env.TOKEN);
|
||||
})();
|
||||
client.login(process.env.TOKEN);
|
||||
Reference in New Issue
Block a user