From 1e294d91c3eab7e65936010c8f0c81c4c4f73b96 Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Tue, 5 Jul 2022 23:08:59 -0400 Subject: Removed help; Updated all the new commands; Finally removed final control panel code --- deploy-command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'deploy-command.js') diff --git a/deploy-command.js b/deploy-command.js index 9543f37..b3c2d76 100644 --- a/deploy-command.js +++ b/deploy-command.js @@ -11,7 +11,7 @@ for (const file of commandFiles) { commands.push(command.data.toJSON()); } -const rest = new REST({ version: '9' }).setToken(config.token); +const rest = new REST({ version: '10' }).setToken(config.token); rest.put(Routes.applicationGuildCommands(config.clientID, config.guildID), { body: commands }) .then(() => console.log('Successfully registered application commands.')) -- cgit v1.2.3