mirror of
https://github.com/cassoule/flopobot_v2.git
synced 2026-03-18 21:40:27 +01:00
2
index.js
2
index.js
@@ -29,6 +29,8 @@ initializeEvents(client, io);
|
|||||||
client.login(process.env.BOT_TOKEN).then(() => {
|
client.login(process.env.BOT_TOKEN).then(() => {
|
||||||
console.log(`Logged in as ${client.user.tag}`);
|
console.log(`Logged in as ${client.user.tag}`);
|
||||||
console.log("[Discord Bot Events Initialized]");
|
console.log("[Discord Bot Events Initialized]");
|
||||||
|
}).catch((error) => {
|
||||||
|
console.error("Error logging in to Discord:", error);
|
||||||
});
|
});
|
||||||
|
|
||||||
// --- APP STARTUP ---
|
// --- APP STARTUP ---
|
||||||
|
|||||||
Reference in New Issue
Block a user