From 732d57388e3d83b9e3aaaa3fb92960d23119ec9e Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Mon, 23 Oct 2017 00:10:51 +0000 Subject: [PATCH] Beep --- commands/games/wizard-convention.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/games/wizard-convention.js b/commands/games/wizard-convention.js index 4db16956..78013463 100644 --- a/commands/games/wizard-convention.js +++ b/commands/games/wizard-convention.js @@ -160,8 +160,7 @@ module.exports = class WizardConventionCommand extends Command { win = true; break; } else { - const found = players.find(player => player.user.id === expelled.id); - players.delete(found.user.id); + players.delete(expelled.user.id); } } this.playing.delete(msg.channel.id);