Set title of embed to command.name if morehelp
This commit is contained in:
parent
5ed26c9d7f
commit
1cddfbbde4
1 changed files with 1 additions and 0 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Reference in a new issue