fixed ban

This commit is contained in:
Loic Bersier 2018-09-16 03:23:26 +02:00
parent 60a9ca3d61
commit d2ef558a06

View file

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