From a560643d4d7195a238cfc580f84f3e774cbf2faf Mon Sep 17 00:00:00 2001 From: Trivernis Date: Wed, 30 Jan 2019 21:03:46 +0100 Subject: [PATCH] Fixed Code Quality - removed unnecessary semicolon --- bot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.js b/bot.js index 322510b..f13a31c 100644 --- a/bot.js +++ b/bot.js @@ -111,7 +111,7 @@ class Bot { logger.warn(err.message); } else { for (let row of rows) { - if (!row[0] in this.presences) + if (!(row[0] in this.presences)) this.presences.push(row.text); } } @@ -277,7 +277,7 @@ class Bot { if (!this.guildHandlers[guild.id]) this.guildHandlers[guild.id] = new guilding.GuildHandler(guild, prefix); return this.guildHandlers[guild.id]; - }; + } }