diff --git a/deploy-commands.js b/deploy-commands.js index a1515ee..ec556ac 100644 --- a/deploy-commands.js +++ b/deploy-commands.js @@ -34,11 +34,8 @@ const rest = new REST().setToken(token); try { console.log(`Started refreshing ${commands.length} application (/) commands.`); - // The put method is used to fully refresh all commands in the guild with the current set - const data = await rest.put( - Routes.applicationCommands(client), - { body: commands }, - ); + // The put method is used to fully refresh all commands with the current set + const data = await rest.put(Routes.applicationCommands(client), { body: commands }); console.log(`Successfully reloaded ${data.length} application (/) commands.`); } catch (error) {