Skip to content

Commit 3320826

Browse files
committed
chore: format help properly
1 parent 87f4df0 commit 3320826

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/commands/help.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ function buildRoleHelpPage(
3535
role: string,
3636
): string {
3737
let response = `
38-
\`Help ${role.charAt(0).toUpperCase() + role.slice(1)}\`
38+
\`Help\`
3939
Use: *help [command]* for more details
4040
41-
| • ${commandsForRole.join("\n| • ") || "_None_"}
41+
| • ${commandsForRole.join("\n | • ")}
4242
4343
\`Page ${page} of ${totalPages}\`
4444
`;
@@ -94,7 +94,7 @@ export default async function (msg: Message): Promise<void> {
9494
const totalPages = Math.ceil(filteredCommands.length / PAGE_SIZE);
9595
if (page < 1 || page > totalPages) {
9696
await msg.reply(
97-
`Page *${page}* is out of range. Total pages: *${totalPages}*.`,
97+
`Page *${page}* is out of range. The total pages is *${totalPages}*.`,
9898
);
9999
return;
100100
}

0 commit comments

Comments
 (0)