Fixed kick
This commit is contained in:
parent
086ee798e4
commit
60a9ca3d61
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ module.exports = class KickCommand extends Command {
|
||||||
|
|
||||||
async run(message) {
|
async run(message) {
|
||||||
const member = message.mentions.members.first();
|
const member = message.mentions.members.first();
|
||||||
member.kick(reason.join(" ")).then(member => {
|
member.kick().then(member => {
|
||||||
message.reply(`${member.user.username} was succesfully kicked.`);
|
message.reply(`${member.user.username} was succesfully kicked.`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue