From b60f503e2e61c77e9e04f67c43a1696d7ea2865f Mon Sep 17 00:00:00 2001 From: David Teller Date: Tue, 17 Aug 2021 12:51:29 +0200 Subject: [PATCH] FIXUP --- package.json | 6 ++---- src/commands/CommandHandler.ts | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 782975a..a8d8aac 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/commands/CommandHandler.ts b/src/commands/CommandHandler.ts index 8a1c7f9..d26005f 100644 --- a/src/commands/CommandHandler.ts +++ b/src/commands/CommandHandler.ts @@ -131,7 +131,7 @@ export async function handleCommand(roomId: string, event: any, mjolnir: Mjolnir "!mjolnir alias add - Adds to \n" + "!mjolnir alias remove - Deletes the room alias from whatever room it is attached to\n" + "!mjolnir resolve - Resolves a room alias to a room ID\n" + - "!mjolnir shutdown room - Uses the bot's account to shut down a room, preventing access to the room on this server\n" + + "!mjolnir shutdown room [message] - Uses the bot's account to shut down a room, preventing access to the room on this server\n" + "!mjolnir powerlevel [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 = `Mjolnir help:
${htmlEscape(menu)}
`;