slim down constants
This commit is contained in:
parent
e095aeef11
commit
0aaee0e0f1
3 changed files with 2 additions and 35 deletions
|
@ -40,13 +40,13 @@ import 'dotenv/config';
|
|||
|
||||
const rest = new REST({ version: '10' }).setToken(process.env.DISCORD_TOKEN!);
|
||||
|
||||
await rest.put(Routes.applicationCommands('977174139297230888'), {
|
||||
await rest.put(Routes.applicationCommands(process.env.DISCORD_APP!), {
|
||||
body: [],
|
||||
});
|
||||
|
||||
console.log('Successfully deleted all application commands.');
|
||||
|
||||
await rest.put(Routes.applicationCommands('977174139297230888'), {
|
||||
await rest.put(Routes.applicationCommands(process.env.DISCORD_APP!), {
|
||||
body: commands,
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue