mirror of
https://github.com/arthur-pbty/LazyBot.git
synced 2026-06-03 23:36:37 +02:00
12 lines
291 B
JavaScript
12 lines
291 B
JavaScript
const { Client, GatewayIntentBits } = require("discord.js");
|
|
|
|
const client = new Client({ intents: [GatewayIntentBits.Guilds] });
|
|
|
|
client.once("ready", () => {
|
|
console.log(`Bot connecté en tant que ${client.user.tag}`);
|
|
});
|
|
|
|
client.login(process.env.BOT_TOKEN);
|
|
|
|
module.exports = client;
|