From d6d1e5ef0bb0a6682e061d00b431871b65446785 Mon Sep 17 00:00:00 2001 From: Cesium Date: Sat, 8 Nov 2025 23:10:20 -0500 Subject: [PATCH] make this work again --- deploy-commands.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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) {