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 = `
${htmlEscape(protectionMenu)}
${htmlEscape(actionMenu)}
${htmlEscape(policyListMenu)}
${htmlEscape(roomsMenu)}
${htmlEscape(botMenu)}
`;
+ const html = `${htmlEscape(protectionMenu)}
${htmlEscape(actionMenu)}
${htmlEscape(policyListMenu)}
${htmlEscape(roomsMenu)}
${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";