From 51ad35f72b7c4e144dd8139890b3f287dda76b5d Mon Sep 17 00:00:00 2001 From: Two Date: Mon, 27 Jul 2020 10:43:45 -0400 Subject: [PATCH] Update help.js --- commands/help.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/help.js b/commands/help.js index 4a54852..bfe65d6 100644 --- a/commands/help.js +++ b/commands/help.js @@ -12,6 +12,8 @@ module.exports = { description: supportbot.HelpDesc, execute(message, args) { + if (supportbot.DeleteMessages == "true") message.delete(); + let generalCommands = ""; generalCommands += `**${supportbot.Prefix}${supportbot.HelpCommand}** ${supportbot.HelpDesc}\n`; generalCommands += `**${supportbot.Prefix}${supportbot.LinksCommand}** ${supportbot.LinkDesc}\n`;