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/deploy-command.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bot/deploy-command.js') diff --git a/bot/deploy-command.js b/bot/deploy-command.js index b2403a1..725fd5c 100644 --- a/bot/deploy-command.js +++ b/bot/deploy-command.js @@ -10,7 +10,7 @@ for (const file of commandFiles) { commands.push(command.data.toJSON()); } -const rest = new REST().setToken(process.env.token); +const rest = new REST().setToken(process.env.TOKEN); // and deploy your commands! (async() => { @@ -19,7 +19,7 @@ const rest = new REST().setToken(process.env.token); // The put method is used to fully refresh all commands in the guild with the current set const data = await rest.put( - Routes.applicationCommands(process.env.clientID), + Routes.applicationCommands(process.env.CLIENT_ID), { body: commands } ); -- cgit v1.2.3