aboutsummaryrefslogtreecommitdiff
path: root/deploy-command.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-07-05 18:16:06 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-07-05 18:16:06 -0400
commita8ec9fe1b8e25af4e1faa6548ee74bfa0643831f (patch)
tree70960f5366f1a8542cb58b1e5a181ae4a4d306f7 /deploy-command.js
parent219b64b51b0297469c7a0401767d7f533c8ac7c3 (diff)
downloadDLAP-a8ec9fe1b8e25af4e1faa6548ee74bfa0643831f.tar.gz
DLAP-a8ec9fe1b8e25af4e1faa6548ee74bfa0643831f.tar.bz2
DLAP-a8ec9fe1b8e25af4e1faa6548ee74bfa0643831f.zip
The start of scrapping the control panel feature
Diffstat (limited to 'deploy-command.js')
-rw-r--r--deploy-command.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy-command.js b/deploy-command.js
index 9386556..c85637f 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: '10' }).setToken(config.token);
+const rest = new REST({ version: '9' }).setToken(config.token);
rest.put(Routes.applicationGuildCommands(config.clientID, config.guildID), { body: commands })
.then(() => console.log('Successfully registered application commands.'))