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 +};