Skip to content

Commit 0ed763b

Browse files
authored
Update README.md
1 parent 506fb11 commit 0ed763b

File tree

1 file changed

+20
-16
lines changed

1 file changed

+20
-16
lines changed

README.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,29 @@ You need [Node.js](https://nodejs.org/) (> 8.1) to run this bot.
2020
Now you can add the bot as **administrator** to your groups.
2121

2222
## Commands
23-
Command | Role | Description
24-
-------- | ------ | -----------
25-
`/admin` | _Master_ | Makes the user admin.
26-
`/unadmin` | _Master_ | Demotes the user from admin list.
27-
`/leave` | _Master_ | Makes the bot leave the group cleanly.
28-
`/warn <reason>` | _Admin_ | Warns the user.
29-
`/unwarn` | _Admin_ | Removes the last warn from the user.
30-
`/nowarns` | _Admin_ | Clears warns for the user.
31-
`/getwarns` | _Admin_ | Shows a list of warns for the user.
32-
`/ban <reason>` | _Admin_ | Bans the user from groups.
33-
`/unban` | _Admin_ | Removes the user from ban list.
34-
`/staff` | _All_ | Shows a list of admins.
35-
`/link` | _All_ | Show the current group's link.
36-
`/groups` | _All_ | Show a list of groups which the bot is admin in.
37-
`/report` | _All_ | Reports the replied-to message to admins.
23+
Command | Role | Available at | Description
24+
----------------------- | ---------- | ------------ | -----------------
25+
`/admin` | _Master_ | _Everywhere_ | Makes the user admin.
26+
`/unadmin` | _Master_ | _Everywhere_ | Demotes the user from admin list.
27+
`/leave <name\|id>` | _Master_ | _Everywhere_ | Make the bot to leave the group cleanly.
28+
`/warn <reason>` | _Admin_ | _Groups_ | Warns the user.
29+
`/unwarn` | _Admin_ | _Everywhere_ | Removes the last warn from the user.
30+
`/nowarns` | _Admin_ | _Everywhere_ | Clears warns for the user.
31+
`/getwarns` | _Admin_ | _Everywhere_ | Shows a list of warns for the user.
32+
`/ban <reason>` | _Admin_ | _Groups_ | Bans the user from groups.
33+
`/unban` | _Admin_ | _Everywhere_ | Removes the user from ban list.
34+
`/addcommand` | _Admin_ | _In-Bot_ | Create a custom command.
35+
`/removecommand <name>` | _Admin_ | _In-Bot_ | Remove a custom command.
36+
`/staff` | _Everyone_ | _Everywhere_ | Shows a list of admins.
37+
`/link` | _Everyone_ | _Everywhere_ | Shows the current group's link.
38+
`/groups` | _Everyone_ | _Everywhere_ | Shows a list of groups which the bot is admin in.
39+
`/report` | _Everyone_ | _Everywhere_ | Reports the replied-to message to admins.
40+
`/commands` | _Everyone_ | _In-Bot_ | Shows a list of available commands.
41+
`/help` \| `/start` | _Everyone_ | _In-Bot_ | How to use the bot.
3842

3943
All commands and actions are synchronized across all of the groups managed by the owner and they work with both **replying** and **mentioning** a user.
4044

41-
If used by reply, `/ban` and `/warn` remove the replied-to message.
45+
If used by reply, `/ban` and `/warn` would remove the replied-to message.
4246

4347
The bot is still in alpha phase so feel free to open issues and ask for a _feature_.
4448

0 commit comments

Comments
 (0)