From 93c73243a05f17c0e94e8726763953c8738f9a3a Mon Sep 17 00:00:00 2001 From: Stefano Date: Sat, 23 Sep 2023 21:58:40 +0200 Subject: [PATCH] Forgotten .env config value --- src/handlers/deploy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/deploy.js b/src/handlers/deploy.js index eaa1caa6..a57a146e 100644 --- a/src/handlers/deploy.js +++ b/src/handlers/deploy.js @@ -13,7 +13,7 @@ module.exports = async (client) => { try { log('Started loading application commands... (this might take minutes!)', 'warn'); - await rest.put(Routes.applicationCommands(config.client.id), { + await rest.put(Routes.applicationCommands(process.env.CLIENT_ID || config.client.id), { body: client.applicationcommandsArray });