idk why this irritates me so much

This commit is contained in:
nolan 2021-08-17 00:17:03 -07:00
parent 9ef265a296
commit 1224ac96dd

View File

@ -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) {