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`;