Added todo
This commit is contained in:
parent
9322464501
commit
0a804b3e67
2 changed files with 9 additions and 8 deletions
|
@ -24,11 +24,10 @@ module.exports = class BanCommand extends Command {
|
|||
if(member.id === message.author.id) {
|
||||
message.say("Why would you ban yourself ?")
|
||||
} else
|
||||
member.ban().then(member => {
|
||||
message.reply(`${member.user.username} was succesfully banned.`);
|
||||
member.ban()
|
||||
.then(() => message.reply(`${member.user.username} was succesfully banned.`));
|
||||
|
||||
//TODO
|
||||
//Send a message when the bot didint manage to kick
|
||||
});
|
||||
}
|
||||
};
|
||||
};
|
|
@ -24,8 +24,10 @@ module.exports = class KickCommand extends Command {
|
|||
if(member.id === message.author.id) {
|
||||
message.say("Why would you kick yourself ?")
|
||||
} else
|
||||
member.kick().then(member => {
|
||||
message.reply(`${member.user.username} was succesfully kicked.`);
|
||||
});
|
||||
}
|
||||
member.kick()
|
||||
.then(() => message.reply(`${member.user.username} was succesfully kicked.`));
|
||||
|
||||
//TODO
|
||||
//Send a message when the bot didint manage to kick
|
||||
};
|
||||
};
|
Loading…
Reference in a new issue