diff --git a/src/middleware/rest/SlashCommandManager.js b/src/middleware/rest/SlashCommandManager.js index 891354a..36b9cd4 100644 --- a/src/middleware/rest/SlashCommandManager.js +++ b/src/middleware/rest/SlashCommandManager.js @@ -21,7 +21,7 @@ class SlashCommandManager { } async guild(commands, { guilds = [] }) { - if(!guilds.length) guilds = this.client._options.discord.slashCommands.developerGuilds; + if(guilds.length === 0) guilds = this.client._options.discord.slashCommands.developerGuilds; const promises = []; for(const guild of guilds) {