Fixed Code Quality

- removed unnecessary semicolon
pull/29/head
Trivernis 6 years ago
parent f1abc3b9b4
commit a560643d4d

@ -111,7 +111,7 @@ class Bot {
logger.warn(err.message); logger.warn(err.message);
} else { } else {
for (let row of rows) { for (let row of rows) {
if (!row[0] in this.presences) if (!(row[0] in this.presences))
this.presences.push(row.text); this.presences.push(row.text);
} }
} }
@ -277,7 +277,7 @@ class Bot {
if (!this.guildHandlers[guild.id]) if (!this.guildHandlers[guild.id])
this.guildHandlers[guild.id] = new guilding.GuildHandler(guild, prefix); this.guildHandlers[guild.id] = new guilding.GuildHandler(guild, prefix);
return this.guildHandlers[guild.id]; return this.guildHandlers[guild.id];
}; }
} }

Loading…
Cancel
Save