diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-07-05 23:08:59 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-07-05 23:08:59 -0400 |
| commit | 1e294d91c3eab7e65936010c8f0c81c4c4f73b96 (patch) | |
| tree | 26d3310e2df215bdc621e116ad97ed93ab0dab35 /deploy-command.js | |
| parent | 7630b6ca8445cc8f6fc5dfb5284ab23b7c26be46 (diff) | |
| download | DLAP-1e294d91c3eab7e65936010c8f0c81c4c4f73b96.tar.gz DLAP-1e294d91c3eab7e65936010c8f0c81c4c4f73b96.tar.bz2 DLAP-1e294d91c3eab7e65936010c8f0c81c4c4f73b96.zip | |
Removed help; Updated all the new commands; Finally removed final control panel code
Diffstat (limited to 'deploy-command.js')
| -rw-r--r-- | deploy-command.js | 2 |
1 files changed, 1 insertions, 1 deletions
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.')) |
