Skip to content

Commit

Permalink
Fix /report description
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Oct 23, 2023
1 parent 972090d commit ac6ef17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion handlers/commands/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const userCommands = `\
<code>/staff</code> - Shows a list of admins.
<code>/link</code> - Show the current group's link.
<code>/groups</code> - Show a list of groups which the bot is admin in.
<code>/report [reason]</code> - Reports the replied-to message to admins, reason is optional.\n
<code>/report [reason]</code> - Reports the replied-to message to admins, reason is optional. Also can be prepended by <code>@</code> or <code>!</code> instead, and it is aliased by <code>admin</code> and <code>admins</code>.\n
`;
const role = R.prop('role');
const name = R.prop('name');
Expand Down

0 comments on commit ac6ef17

Please sign in to comment.