From 6645909b4bdbaf187fd08c86124056e4b05c54e8 Mon Sep 17 00:00:00 2001 From: nathomp3 Date: Sat, 22 Jan 2022 17:12:57 -0500 Subject: [PATCH] Made updating of global commands definable in env --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 0b599dd..7c63076 100644 --- a/index.js +++ b/index.js @@ -52,7 +52,7 @@ const rest = new REST({ version: '9' }).setToken(token); console.log('Started refreshing application (/) commands.'); await rest.put( - Routes.applicationCommands('728401850033897574'), + Routes.applicationCommands(process.env.id), { body: commands }, );