Skip to content

Commit

Permalink
Merge pull request TFAGaming#46 from Codixer/env-value-fix
Browse files Browse the repository at this point in the history
Forgotten .env config value fix
  • Loading branch information
TFAGaming authored Sep 23, 2023
2 parents 57b98e8 + 93c7324 commit 8c795d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handlers/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = async (client) => {
try {
log('Started loading application commands... (this might take minutes!)', 'warn');

await rest.put(Routes.applicationCommands(config.client.id), {
await rest.put(Routes.applicationCommands(process.env.CLIENT_ID || config.client.id), {
body: client.applicationcommandsArray
});

Expand Down

0 comments on commit 8c795d2

Please sign in to comment.