diff --git a/src/commands/CommandHandler.ts b/src/commands/CommandHandler.ts index 92b0fbf5..01b8ae64 100644 --- a/src/commands/CommandHandler.ts +++ b/src/commands/CommandHandler.ts @@ -208,7 +208,12 @@ export async function handleCommand(roomId: string, event: { content: { body: st "!mjolnir verify - Ensures Mjolnir can moderate all your rooms\n" + "!mjolnir help - This menu\n"; - const html = `

Mjolnir help menu:


Protection Actions/Options:
${htmlEscape(protectionMenu)}

Moderation Actions:
${htmlEscape(actionMenu)}

Policy List Options/Actions:
${htmlEscape(policyListMenu)}

Room Managment:
${htmlEscape(roomsMenu)}

Bot Status and Management:
${htmlEscape(botMenu)}
`; + const html = `

Mjolnir help menu:


+ Protection Actions/Options:
${htmlEscape(protectionMenu)}

+ Moderation Actions:
${htmlEscape(actionMenu)}

+ Policy List Options/Actions:
${htmlEscape(policyListMenu)}

+ Room Managment:
${htmlEscape(roomsMenu)}

+ Bot Status and Management:
${htmlEscape(botMenu)}
`; const text = `Mjolnir help menu:\n Protection Actions/Options:\n ${protectionMenu} \n Moderation Actions: ${actionMenu}\n Policy List Options/Actions: \n ${policyListMenu} \n Room Management: ${roomsMenu} \n Bot Status and Management: \n ${botMenu} `; const reply = RichReply.createFor(roomId, event, text, html); reply["msgtype"] = "m.notice";