aboutsummaryrefslogtreecommitdiff
path: root/commands/Pokemon/join.js
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Pokemon/join.js')
-rw-r--r--commands/Pokemon/join.js8
1 files 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;
}