Update help.js

ID Support, Boolean Changes
This commit is contained in:
DuAnti7423 committed 2021-05-23 10:39:31 +02:00
1 parent c5dd8823f6
commit cd17b0a6d7
1 file changed
+2 -2
+2 -2
View File
@@ -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`;