2022-04-18 15:41:35 +02:00
|
|
|
const { Client, Intents } = require('discord.js');
|
2022-06-18 01:01:43 +02:00
|
|
|
const { token } = require('./config/config.json');
|
2022-04-18 15:41:35 +02:00
|
|
|
|
|
|
|
const client = new Client({ intents: [Intents.FLAGS.GUILDS] });
|
|
|
|
|
|
|
|
client.once('ready', () => {
|
|
|
|
console.log('Prêt !');
|
|
|
|
});
|
|
|
|
|
2022-06-18 01:01:43 +02:00
|
|
|
client.login(token);
|