From 7750e68185e5a1c888dda22986dc7592fe9b4af1 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 27 Mar 2018 20:05:52 -0400 Subject: finishing things up --- commands/Pokemon/join.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/Pokemon/join.js b/commands/Pokemon/join.js index 6596787..506fabb 100644 --- a/commands/Pokemon/join.js +++ b/commands/Pokemon/join.js @@ -48,14 +48,14 @@ function findTeam(msg, team) { let oldTeam; if (msg.member.roles.find('name', 'Skull')) { - if (team == 'aqua') return; + if (team == 'skull') return; msg.member.removeRole(msg.guild.roles.find('name', 'Skull')); - oldTeam = 'Aqua'; + oldTeam = 'Skull'; } else if (msg.member.roles.find('name', 'Flare')) { - if (team == 'rocket') return; + if (team == 'flare') return; msg.member.removeRole(msg.guild.roles.find('name', 'Flare')); - oldTeam = 'Rocket'; + oldTeam = 'Flare'; } return oldTeam; } -- cgit v1.2.3