From 95a37134edc085556a6c0d31a0319ee177343bff Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 4 Apr 2018 00:59:02 +0000 Subject: [PATCH] Fix --- Xiao.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xiao.js b/Xiao.js index 3fae4a39..72d5a6f8 100644 --- a/Xiao.js +++ b/Xiao.js @@ -58,7 +58,7 @@ client.on('ready', async () => { }, 60000); if (allowedGuilds) { for (const guild of client.guilds.values()) { - if (allowedGuilds.includes(guild.id)) return; + if (allowedGuilds.includes(guild.id)) continue; try { await guild.leave(); console.log(`[GUILD] Left non-allowed guild ${guild.name}. (${guild.id})`);