aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-02-23 21:59:46 -0500
committerUnknown <jtsshieh@outlook.com>2018-02-23 21:59:46 -0500
commit4b7d6d983362048e2f3f12c451531c67cfe87be8 (patch)
treed7214ef9a99330fbf9212b4297674018e1233454 /commands
parent1caa99de4aaa890b64f90399387adf365b54c80a (diff)
downloadPokeBot-4b7d6d983362048e2f3f12c451531c67cfe87be8.tar.gz
PokeBot-4b7d6d983362048e2f3f12c451531c67cfe87be8.tar.bz2
PokeBot-4b7d6d983362048e2f3f12c451531c67cfe87be8.zip
Tiny little thing
Diffstat (limited to 'commands')
-rw-r--r--commands/kick.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/kick.js b/commands/kick.js
index b58c4c3..49906a1 100644
--- a/commands/kick.js
+++ b/commands/kick.js
@@ -2,7 +2,7 @@ exports.run = (bot, msg, args) => {
if (!msg.member.hasPermission('KICK_MEMBERS')) return msg.reply('You don\'t have permssion to kick members');
if (!msg.guild.member(bot.user).hasPermission('KICK_MEMBERS')) return msg.reply('I don\'t have permssion to kick members');
const member = msg.mentions.members.first();
- member.kick(args.join(' ').slice(3 + member.user.id.length)).then(() => {
+ member.kick(msg.author.tag + ': ' + args.join(' ').slice(3 + member.user.id.length)).then(() => {
msg.channel.send(`Alright, I kicked **${member.user.tag}** for the reason **${args.join(' ').slice(3 + member.user.id.length)}**`);
});
};