Skip to content

Commit

Permalink
Made updating of global commands definable in env
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-NCSU committed Jan 22, 2022
1 parent 05d94a1 commit 6645909
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const rest = new REST({ version: '9' }).setToken(token);
console.log('Started refreshing application (/) commands.');
await rest.put(
Routes.applicationCommands('728401850033897574'),
Routes.applicationCommands(process.env.id),
{ body: commands },
);
Expand Down

0 comments on commit 6645909

Please sign in to comment.