aboutsummaryrefslogtreecommitdiff
path: root/commands/Pokemon
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Pokemon')
-rw-r--r--commands/Pokemon/dropgym.js (renamed from commands/Pokemon/drop.js)2
-rw-r--r--commands/Pokemon/jointeam.js (renamed from commands/Pokemon/join.js)6
-rw-r--r--commands/Pokemon/leaveteam.js (renamed from commands/Pokemon/leave.js)2
3 files changed, 5 insertions, 5 deletions
diff --git a/commands/Pokemon/drop.js b/commands/Pokemon/dropgym.js
index 555213e..cb9ad2e 100644
--- a/commands/Pokemon/drop.js
+++ b/commands/Pokemon/dropgym.js
@@ -32,6 +32,6 @@ exports.conf = {
};
exports.help = {
- name: 'drop',
+ name: 'dropgym',
description: 'Drop a gym.',
};
diff --git a/commands/Pokemon/join.js b/commands/Pokemon/jointeam.js
index 59bc0c7..e396afe 100644
--- a/commands/Pokemon/join.js
+++ b/commands/Pokemon/jointeam.js
@@ -16,12 +16,12 @@ exports.run = async (bot, msg, args) => {
const team = findTeam(msg, args[0].toUpperCase());
switch (args[0])
{
- case 'SKULL': {
+ case 'skull': {
msg.member.addRole(msg.guild.roles.find('name', 'Skull'));
msg.reply(`Alright, ${team ? 'you have left team ' + team + ' and ' : 'you have '}joined team Skull.`);
break;
}
- case 'FLARE' : {
+ case 'flare' : {
msg.member.addRole(msg.guild.roles.find('name', 'Flare'));
msg.reply(`Alright, ${team ? 'you have left team ' + team + ' and ' : 'you have '}joined team Flare.`);
break;
@@ -56,7 +56,7 @@ exports.conf = {
};
exports.help = {
- name: 'join',
+ name: 'jointeam',
description: 'Join one of the teams!',
usage: '<flare/skull>',
};
diff --git a/commands/Pokemon/leave.js b/commands/Pokemon/leaveteam.js
index 397cecb..b2e1805 100644
--- a/commands/Pokemon/leave.js
+++ b/commands/Pokemon/leaveteam.js
@@ -30,6 +30,6 @@ exports.conf = {
};
exports.help = {
- name: 'leave',
+ name: 'leaveteam',
description: 'Leave the team you currently are in.',
};