Don't show page number on help with specific commands
All checks were successful
CI / CI (push) Successful in 1m28s

This commit is contained in:
SileNce5k 2025-04-12 03:28:44 +02:00
parent 6f8dd7ebf6
commit 1fd5f6cc6a
Signed by: SileNce
GPG key ID: B0A142BB4291B204

View file

@ -60,6 +60,7 @@ module.exports = {
start++;
}
}else if(args[0] === command.name){
fieldName = "Description";
commands = commands + `${prefix}${command.name}\n`
embed.setTitle(command.name.charAt(0).toUpperCase() + command.name.slice(1))
if(command.moreHelp){
@ -67,7 +68,6 @@ module.exports = {
commands = commands + `${element}\n`
});
} else {
fieldName = "Description";
commands = commands + `${command.description}`;
}
break;