Skip to content

Commit

Permalink
Fix readme for /report
Browse files Browse the repository at this point in the history
  • Loading branch information
C0rn3j committed Oct 23, 2023
1 parent 5bb31e5 commit db6f6e6
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` | _Everyone_ | _Everywhere_ | Reports the replied-to message to admins.
`/report [reason]` | _Everyone_ | _Everywhere_ | Reports the replied-to message to admins, reason is optional.
`/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</code> - Reports the replied-to message to admins.\n
<code>/report [reason]</code> - Reports the replied-to message to admins, reason is optional.\n
`;
const role = R.prop('role');
const name = R.prop('name');
Expand Down

0 comments on commit db6f6e6

Please sign in to comment.