corrected a mistake
This commit is contained in:
parent
92b3e7275f
commit
9cfaae1e77
1 changed files with 1 additions and 1 deletions
|
@ -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.`);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in a new issue