From d4576dfc21a8749cc5e5819197e83fadd3987d37 Mon Sep 17 00:00:00 2001 From: Two Date: Mon, 27 Jul 2020 10:43:17 -0400 Subject: [PATCH] Update removeUser.js --- commands/removeUser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/commands/removeUser.js b/commands/removeUser.js index 34cb52f..61e9990 100644 --- a/commands/removeUser.js +++ b/commands/removeUser.js @@ -12,6 +12,8 @@ module.exports = { description: supportbot.RemoveUserDesc, execute(message, args) { + if (supportbot.DeleteMessages == "true") message.delete(); + console.log(`\u001b[32m`, `[${supportbot.Bot_Name}]:`, `\u001b[32m`, `${message.author.tag} has executed ${supportbot.Prefix}${supportbot.RemoveUser}!`); let SupportStaff = message.guild.roles.cache.find(SupportTeam => SupportTeam.name === supportbot.Staff) @@ -59,4 +61,4 @@ module.exports = { } } -}; \ No newline at end of file +};