diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-02-24 12:22:10 -0500 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-02-24 12:22:10 -0500 |
| commit | 342f9f5222369cc109820d5959014a7039f55430 (patch) | |
| tree | e0fb4772ff528cb545b97462068e9519b9f10eb4 /commands | |
| parent | decb9a459d05ac0fedba72c358ffd7581dfa0163 (diff) | |
| download | PokeBot-342f9f5222369cc109820d5959014a7039f55430.tar.gz PokeBot-342f9f5222369cc109820d5959014a7039f55430.tar.bz2 PokeBot-342f9f5222369cc109820d5959014a7039f55430.zip | |
Grammer
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/join.js | 3 | ||||
| -rw-r--r-- | commands/leave.js | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/commands/join.js b/commands/join.js index 49ec11c..22d2759 100644 --- a/commands/join.js +++ b/commands/join.js @@ -4,14 +4,17 @@ exports.run = async (bot, msg, args) => { { case 'mystic': { msg.member.addRole(msg.guild.roles.find('name', 'Mystic')); + msg.reply('Alright, you are have joined team Mystic.'); break; } case 'valor' : { msg.member.addRole(msg.guild.roles.find('name', 'Valor')); + msg.reply('Alright, you have joined team Valor.'); break; } case 'instinct' : { msg.member.addRole(msg.guild.roles.find('name', 'Instinct')); + msg.reply('Alright, you have joined team Instinct.'); break; } default : { diff --git a/commands/leave.js b/commands/leave.js index bb6cc0d..850d7ce 100644 --- a/commands/leave.js +++ b/commands/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'); + msg.reply('Alright, you are not longer in team Mystic.'); } 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'); + msg.reply('Alright, you are not longer in team Valor.'); } 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'); + msg.reply('Alright, you are not longer in team Instinct.'); } else { msg.reply('You are not in a team.'); |
