corrected a mistake

This commit is contained in:
Loïc Bersier 2018-09-07 22:47:49 +02:00
parent 92b3e7275f
commit 9cfaae1e77

View file

@ -22,7 +22,7 @@ module.exports = class KickCommand extends Command {
run(message) { run(message) {
const member = message.mentions.members.first(); const member = message.mentions.members.first();
member.kick(reason.join(" ")).then(member => { member.kick(reason.join(" ")).then(member => {
message.reply(`${member.user.username} was succesfully banned.`); message.reply(`${member.user.username} was succesfully kicked.`);
}); });
} }
}; };