forked from Galactic/galactic-bot
idk why this irritates me so much
This commit is contained in:
parent
9ef265a296
commit
1224ac96dd
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user