From 1cddfbbde49562d851a9ac855846bcd5bd6c7ada Mon Sep 17 00:00:00 2001 From: SileNce5k Date: Fri, 25 Jun 2021 19:25:14 +0200 Subject: [PATCH] Set title of embed to command.name if morehelp --- commands/help.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/help.js b/commands/help.js index efb4b1f..77b7851 100644 --- a/commands/help.js +++ b/commands/help.js @@ -43,6 +43,7 @@ module.exports = { commands = commands + `${prefix}${command.name} | ${command.description}\n` }else if(args[0] === command.name){ commands = commands + `${prefix}${command.name}\n` + embed.setTitle(command.name.charAt(0).toUpperCase() + command.name.slice(1)) if(command.moreHelp){ command.moreHelp.forEach(element => { commands = commands + `${element}\n`