From cd17b0a6d77847a0561ba2b56b5c93b2e60c8cd4 Mon Sep 17 00:00:00 2001 From: DuAnti7423 <82730507+DuAnti7423@users.noreply.github.com> Date: Sun, 23 May 2021 10:39:31 +0200 Subject: [PATCH] Update help.js ID Support, Boolean Changes --- commands/help.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/help.js b/commands/help.js index 5db5217..51efee6 100644 --- a/commands/help.js +++ b/commands/help.js @@ -12,13 +12,13 @@ module.exports = { description: supportbot.HelpDesc, execute(message, args) { - if (supportbot.DeleteMessages === "true") message.delete(); + if (supportbot.DeleteMessages) message.delete(); let SupportStaff = message.guild.roles.cache.find(adminRole => adminRole.name === supportbot.Admin) || message.guild.roles.cache.find(adminRole => adminRole.id === supportbot.Admin); console.log(`\u001b[32m`, `[${supportbot.Bot_Name}]:`, `\u001b[32m`, `${message.author.tag} has executed ${supportbot.Prefix}${supportbot.HelpCommand}!`); - if (supportbot.helpmenu_withkey = "true") { + if (supportbot.HelpMenu_WithKey) { let generalCommands = ""; generalCommands += `**${supportbot.Prefix}${supportbot.HelpCommand}** ${supportbot.HelpDesc}\n`; generalCommands += `**${supportbot.Prefix}${supportbot.LinksCommand}** ${supportbot.LinksDesc}\n`;