This commit is contained in:
David Teller 2021-08-17 12:51:29 +02:00
parent 62b30b19d9
commit b60f503e2e
2 changed files with 3 additions and 5 deletions

View File

@ -15,14 +15,12 @@
},
"devDependencies": {
"@types/mocha": "^9.0.0",
"@types/node": "^16.4.5",
"eslint": "^7.31.0",
"@types/node": "11",
"expect": "^27.0.6",
"mocha": "^9.0.1",
"ts-mocha": "^8.0.0",
"tslint": "^6.1.3",
"typescript": "^4.3.5",
"typescript-formatter": "^7.2.2"
"typescript": "^4.3.5"
},
"dependencies": {
"config": "^3.3.6",

View File

@ -131,7 +131,7 @@ export async function handleCommand(roomId: string, event: any, mjolnir: Mjolnir
"!mjolnir alias add <room alias> <target room alias/ID> - Adds <room alias> to <target room>\n" +
"!mjolnir alias remove <room alias> - Deletes the room alias from whatever room it is attached to\n" +
"!mjolnir resolve <room alias> - Resolves a room alias to a room ID\n" +
"!mjolnir shutdown room <room alias/ID> - Uses the bot's account to shut down a room, preventing access to the room on this server\n" +
"!mjolnir shutdown room <room alias/ID> [message] - Uses the bot's account to shut down a room, preventing access to the room on this server\n" +
"!mjolnir powerlevel <user ID> <power level> [room alias/ID] - Sets the power level of the user in the specified room (or all protected rooms)\n" +
"!mjolnir help - This menu\n";
const html = `<b>Mjolnir help:</b><br><pre><code>${htmlEscape(menu)}</code></pre>`;