From 60a9ca3d61c7d4f9047ca6f3286b565934f95d31 Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Sun, 16 Sep 2018 03:23:13 +0200 Subject: [PATCH] Fixed kick --- commands/admin/kick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/admin/kick.js b/commands/admin/kick.js index 3e329482..b6bc805f 100644 --- a/commands/admin/kick.js +++ b/commands/admin/kick.js @@ -21,7 +21,7 @@ module.exports = class KickCommand extends Command { async run(message) { const member = message.mentions.members.first(); - member.kick(reason.join(" ")).then(member => { + member.kick().then(member => { message.reply(`${member.user.username} was succesfully kicked.`); }); }