From d7c46a9eae28046bb26da182abc298dc18ed5a10 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 23 Mar 2025 01:39:11 -0400 Subject: Replacing Astro with Next.JS; Prefix warning; Consistent env vars --- 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 91c26c8..c301234 100644 --- a/bot/src/bot.js +++ b/bot/src/bot.js @@ -5,7 +5,7 @@ const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBit init(client); -client.login(process.env.token).then(() => { +client.login(process.env.TOKEN).then(() => { console.log('[>] Successfully authenticated.'); }).catch(() => { console.log('[X] Login failed. The token that you have put in is invalid.'); -- cgit v1.2.3