This commit is contained in:
Loïc Bersier 2018-09-16 21:05:10 +02:00
commit 1988787d3e
3 changed files with 3 additions and 3 deletions

View file

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

View file

@ -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.`);
}); });
} }

View file

@ -12,6 +12,6 @@ module.exports = class DedCommand extends Command {
} }
async run(message) { async run(message) {
await message.say('im dead now k bye thx'); await message.say('https://i.redd.it/lw8hrvr0l4f11.jpg');
process.exit(); process.exit();
}} }}