diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-02-24 18:38:43 -0500 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-02-24 18:38:43 -0500 |
| commit | 3e223e6e0fef36e12ce4f02127e28d8b2cd5f64c (patch) | |
| tree | 4d331d16b23f9017f44d38be8e0e6021bf03d323 /commands/Teams/leave.js | |
| parent | a4d1af8d48a303b66172638464fb2223859ef7e0 (diff) | |
| download | PokeBot-3e223e6e0fef36e12ce4f02127e28d8b2cd5f64c.tar.gz PokeBot-3e223e6e0fef36e12ce4f02127e28d8b2cd5f64c.tar.bz2 PokeBot-3e223e6e0fef36e12ce4f02127e28d8b2cd5f64c.zip | |
Cange
Diffstat (limited to 'commands/Teams/leave.js')
| -rw-r--r-- | commands/Teams/leave.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/commands/Teams/leave.js b/commands/Teams/leave.js index c22a1f2..fb02e16 100644 --- a/commands/Teams/leave.js +++ b/commands/Teams/leave.js @@ -1,15 +1,15 @@ exports.run = async (bot, msg) => { - if (msg.member.roles.find('name', 'Mystic')) { - msg.member.removeRole(msg.guild.roles.find('name', 'Mystic')); - msg.reply('Alright, you are not longer in team Mystic.'); + if (msg.member.roles.find('name', 'Aqua')) { + msg.member.removeRole(msg.guild.roles.find('name', 'Aqua')); + msg.reply('Alright, you are not longer in team Aqua.'); } - else if (msg.member.roles.find('name', 'Valor')) { - msg.member.removeRole(msg.guild.roles.find('name', 'Valor')); - msg.reply('Alright, you are not longer in team Valor.'); + else if (msg.member.roles.find('name', 'Rocket')) { + msg.member.removeRole(msg.guild.roles.find('name', 'Rocket')); + msg.reply('Alright, you are not longer in team Rocket.'); } - else if (msg.member.roles.find('name', 'Instinct')) { - msg.member.removeRole(msg.guild.roles.find('name', 'Instinct')); - msg.reply('Alright, you are not longer in team Instinct.'); + else if (msg.member.roles.find('name', 'Magma')) { + msg.member.removeRole(msg.guild.roles.find('name', 'Magma')); + msg.reply('Alright, you are not longer in team Magma.'); } else { msg.reply('You are not in a team.'); |
