From ac6ef1775c390221d8991c15ec8136a59849589e Mon Sep 17 00:00:00 2001 From: Martin Rys Date: Mon, 23 Oct 2023 12:58:10 +0200 Subject: [PATCH] Fix /report description --- README.md | 2 +- handlers/commands/commands.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9978e87..0cbf75b 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ Command | Role | Available at | Description `/staff` | _Everyone_ | _Everywhere_ | Shows a list of admins. `/link` | _Everyone_ | _Everywhere_ | Shows the current group's link. `/groups` | _Everyone_ | _Everywhere_ | Shows a list of groups which the bot is admin in. -`/report [reason]` | _Everyone_ | _Everywhere_ | Reports the replied-to message to admins, reason is optional. +`/report [reason]` | _Everyone_ | _Groups_ Reports the replied-to message to admins, reason is optional. Also can be prepended by `@` or `!` instead, and it is aliased by `admin` and `admins`. `/commands` | _Everyone_ | _In-Bot_ | Shows a list of available commands. `/help` \| `/start` | _Everyone_ | _In-Bot_ | How to use the bot. diff --git a/handlers/commands/commands.js b/handlers/commands/commands.js index 77e86bc..bbe2caa 100644 --- a/handlers/commands/commands.js +++ b/handlers/commands/commands.js @@ -37,7 +37,7 @@ const userCommands = `\ /staff - Shows a list of admins. /link - Show the current group's link. /groups - Show a list of groups which the bot is admin in. -/report [reason] - Reports the replied-to message to admins, reason is optional.\n +/report [reason] - Reports the replied-to message to admins, reason is optional. Also can be prepended by @ or ! instead, and it is aliased by admin and admins.\n `; const role = R.prop('role'); const name = R.prop('name');