diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-03-27 20:05:52 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-03-27 20:05:52 -0400 |
| commit | 7750e68185e5a1c888dda22986dc7592fe9b4af1 (patch) | |
| tree | d7e00ba20b1824c04121e902cef90243131455b3 /commands | |
| parent | acad86555710ba6cae27bf0322ae575de9ba4a19 (diff) | |
| download | PokeBot-7750e68185e5a1c888dda22986dc7592fe9b4af1.tar.gz PokeBot-7750e68185e5a1c888dda22986dc7592fe9b4af1.tar.bz2 PokeBot-7750e68185e5a1c888dda22986dc7592fe9b4af1.zip | |
finishing things up
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/Pokemon/join.js | 8 |
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; } |
