Archived
minor help fix
This commit is contained in:
1 parent
146d886d04
commit
8ff79484c5
1 file changed
+4
-1
+4
-1
@@ -28,7 +28,10 @@ export class HelpMessage extends Command {
|
||||
helpMsg.setFooter(botName || "");
|
||||
if (helpMsg != null) {
|
||||
if (a && a[0]) {
|
||||
const cmd: Command | null = cmdManager.get(a[0], "ALL");
|
||||
const cmd: Command | null = cmdManager.get(
|
||||
a[0].toString(),
|
||||
"ALL"
|
||||
);
|
||||
if (cmd) {
|
||||
helpMsg.setTitle(
|
||||
`${cmd.name} ${cmd.visible ? "" : "[HIDDEN]"}`
|
||||
|
||||
Reference in new issue
Block a user