diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-03-29 00:03:42 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-03-29 00:03:42 -0400 |
| commit | 18f0b9d60c44f69fad6eb4716659c79f08f46711 (patch) | |
| tree | 9f18c1753bfb3fd695a0cc26068d3dc1515cb153 /deploy-command.js | |
| parent | 08aae8cd9e5417bd7451b9af2e3190bf9c6a4e43 (diff) | |
| download | DLAP-18f0b9d60c44f69fad6eb4716659c79f08f46711.tar.gz DLAP-18f0b9d60c44f69fad6eb4716659c79f08f46711.tar.bz2 DLAP-18f0b9d60c44f69fad6eb4716659c79f08f46711.zip | |
Permission system on certain commands
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 c85637f..9386556 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.')) |
