add Discord Bot

This commit is contained in:
Arthur Puechberty
2026-01-15 00:43:40 +01:00
parent a3e13f5dac
commit a4d93afaa3
7 changed files with 716 additions and 8 deletions
+11
View File
@@ -0,0 +1,11 @@
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;