1 parent 87f4df0 commit 7274345Copy full SHA for 7274345
1 file changed
src/commands/help.ts
@@ -35,10 +35,10 @@ function buildRoleHelpPage(
35
role: string,
36
): string {
37
let response = `
38
- \`Help ${role.charAt(0).toUpperCase() + role.slice(1)}\`
+ \`Help\`
39
Use: *help [command]* for more details
40
41
- | • ${commandsForRole.join("\n| • ") || "_None_"}
+ | • ${commandsForRole.join("\n | • ")}
42
43
\`Page ${page} of ${totalPages}\`
44
`;
@@ -94,7 +94,7 @@ export default async function (msg: Message): Promise<void> {
94
const totalPages = Math.ceil(filteredCommands.length / PAGE_SIZE);
95
if (page < 1 || page > totalPages) {
96
await msg.reply(
97
- `Page *${page}* is out of range. Total pages: *${totalPages}*.`,
+ `Page *${page}* is out of range. The total pages is *${totalPages}*.`,
98
);
99
return;
100
}
0 commit comments