From 8432290a70d835c29229cb9a6e8aba9932a5a675 Mon Sep 17 00:00:00 2001 From: Two Date: Mon, 27 Jul 2020 10:43:59 -0400 Subject: [PATCH] Update botSay.js --- commands/botSay.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/commands/botSay.js b/commands/botSay.js index c90df2c..1e930b5 100644 --- a/commands/botSay.js +++ b/commands/botSay.js @@ -13,7 +13,8 @@ module.exports = { description: supportbot.BotSayDesc, execute(message, args) { - + if (supportbot.DeleteMessages == "true") message.delete(); + let SupportStaff = message.guild.roles.cache.find(adminRole => adminRole.name === supportbot.Staff); const NoPerms = new Discord.MessageEmbed() @@ -47,4 +48,4 @@ module.exports = { } -}; \ No newline at end of file +};