From 10434adad478d21bbb834a5803125db9f54c9d6c Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Wed, 2 Apr 2025 02:21:41 -0400 Subject: Added i18n (basic); Blacklist feature; Put error msg into a file --- bot/src/bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/src/bot.js') diff --git a/bot/src/bot.js b/bot/src/bot.js index c301234..bba8eaf 100644 --- a/bot/src/bot.js +++ b/bot/src/bot.js @@ -3,7 +3,7 @@ import 'dotenv/config'; import { init } from './init.js'; const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMembers, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildBans] }); -init(client); +void init(client); client.login(process.env.TOKEN).then(() => { console.log('[>] Successfully authenticated.'); -- cgit v1.2.3