From 0d51d7ca78ea6470ba0dfd3453fb1cbc912fbd84 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 25 Jul 2017 20:33:33 +0000 Subject: [PATCH] Fix Kick Reason --- commands/moderation/kick.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/moderation/kick.js b/commands/moderation/kick.js index a257f86e..92dc52b3 100644 --- a/commands/moderation/kick.js +++ b/commands/moderation/kick.js @@ -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.'); diff --git a/package.json b/package.json index d70ae0cb..e1d2d201 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "27.6.0", + "version": "27.6.1", "description": "Your personal server companion.", "main": "Shard.js", "scripts": {