diff --git a/server/bot.js b/server/bot.js index 9f12924..8a7da75 100644 --- a/server/bot.js +++ b/server/bot.js @@ -143,6 +143,6 @@ export function isWhitelistOn() { return true; } -if (isWhitelistOn) { +if (isWhitelistOn()) { discordClient.login(config.botTokenSecret); }