Files
LazyBot/app/bot.js
T
Arthur Puechberty a4d93afaa3 add Discord Bot
2026-01-15 00:43:40 +01:00

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;