Botanique/index.js
Mylloon 9fcafc9de4
Change .env to config.json
Co-authored-by: loonatiny <fr.tanyan@gmail.com>
2022-06-18 01:01:43 +02:00

10 lines
248 B
JavaScript

const { Client, Intents } = require('discord.js');
const { token } = require('./config/config.json');
const client = new Client({ intents: [Intents.FLAGS.GUILDS] });
client.once('ready', () => {
console.log('Prêt !');
});
client.login(token);