Fix Kick Reason

This commit is contained in:
Daniel Odendahl Jr
2017-07-25 20:33:33 +00:00
parent 15da76e670
commit 0d51d7ca78
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ module.exports = class KickCommand extends Command {
} catch (err) {
await msg.say('Failed to Send DM.');
}
await member.kick({ reason: `${msg.author.tag}: ${reason}` });
await member.kick(`${msg.author.tag}: ${reason}`);
await msg.say(`Successfully kicked ${member.user.tag}.`);
if (!modlogs || !modlogs.permissionsFor(this.client.user).has('SEND_MESSAGES')) {
return msg.say('Could not log the kick to the mod logs.');
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiaobot",
"version": "27.6.0",
"version": "27.6.1",
"description": "Your personal server companion.",
"main": "Shard.js",
"scripts": {