From 0a269aac940a23154505c7908a198fbd1cdf25e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 19 Aug 2021 02:01:06 +0300 Subject: [PATCH] Updated commands.js --- src/client/commands.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/commands.js b/src/client/commands.js index 7af2b86..5736875 100644 --- a/src/client/commands.js +++ b/src/client/commands.js @@ -23,6 +23,10 @@ module.exports = { try { console.log('Started refreshing application (/) commands.'); + await rest.put( + Routes.applicationCommands(clientId), + { body: commands }, + ); await rest.put( Routes.applicationGuildCommands(clientId, guildId), { body: commands },