diff --git a/commands/admin/ban.js b/commands/admin/ban.js index 46a170e..bd0f5bb 100644 --- a/commands/admin/ban.js +++ b/commands/admin/ban.js @@ -38,7 +38,8 @@ class BanCommand extends Command { if(member.id === message.author.id) return message.channel.send('Why would you ban yourself ?'); - member.ban(`Banned by : ${message.author.username} for the following reasons : ${reasons}`) + await member.send(`https://youtu.be/55-mHgUjZfY\nYou have been banned from **${message.guild.name}** for the following reasons: "**${reasons}**"`); + return member.ban(`Banned by : ${message.author.username} for the following reasons : ${reasons}`) .then(() => message.reply(`${member.user.username} was succesfully banned with the following reasons "${reasons}".`)); } } diff --git a/commands/admin/kick.js b/commands/admin/kick.js index 1831da2..8d7a4f2 100644 --- a/commands/admin/kick.js +++ b/commands/admin/kick.js @@ -38,7 +38,8 @@ class KickCommand extends Command { if(!reasons) reasons = 'Nothing have been specified.'; - await member.kick(`Kicked by : ${message.author.username} for the following reasons : ${reasons}`) + await member.send(`You have been kicked from **${message.guild.name}** for the following reasons: "**${reasons}**"`); + return member.kick(`Kicked by : ${message.author.username} for the following reasons : ${reasons}`) .then(() => message.reply(`${member.user.username} was succesfully kicked with the following reasons "${reasons}".`)) .catch(err => console.error(err)); }