sysadmin commands¶
| Plugin | Sysadmin |
| Brief | Administration commands. |
ban¶
| Aliases | No alias |
| Brief | Ban the mentioned user and, optionnally, delete their message. |
| Usage | ban [--ndays NDAYS] [user] |
positional arguments:
user an optional user mention or the Discord user's id
optional arguments:
--ndays NDAYS delete messages in the previous NDAYS days. Defaults to 0
Examples¶
ban |
Show banned users. |
ban <user mention> |
Attempt to ban the mentioned user. |
ban <user mention> --ndays 3 |
Attempt to ban the mentioned user and delete their 3-previous days messages. |
chgroup¶
| Aliases | No alias |
| Brief | Change permissions group for the mentioned user. |
| Usage | chgroup mention primary_key |
positional arguments:
mention a mention of the user to change
primary_key a valid role primary key or a group
Details¶
GUEST group (0)¶
Interaction with the bot is disabled and cannot be self-enabled. The bot will completely ignore any commands coming from such a member.
USER group (1)¶
Default group for any server’s member.
ORDINAL group (2)¶
Members in this group are allowed to use the following commands:
| Plugin | Commands |
|---|---|
| core | debug |
| sysadmin | mute, chgroup |
| audio | vjoin, vquit |
ADMIN group (3)¶
Inherits permissions from ORDINAL group. Furthermore, members in this group have permissions to change the group of an user with lower permissions and can execute the following commands from the core plugin.
- announce, chmod, config, goodbye, welcome
OWNER group (4)¶
Group created for conveniance and automatically assigned to server’s owner.
Custom roles¶
Custom roles may inherit default groups and thus it is possible to change their default behaviour. The GID of the customized role is the same as its parent but its UID must be different in order to distinguish between them.
group¶
| Aliases | gid |
| Brief | Show the group the user belongs to. |
| Usage | group [mention] |
positional arguments:
mention an optional user mention
Examples¶
group |
Show the group the user belongs to. |
group <user mention> |
Show the group the mentioned user belongs to. |
groupmod¶
| Aliases | gmod |
| Brief | Groups and roles manager. |
| Usage | groupmod action primary_key |
positional arguments:
action method 'POST', 'PATCH', 'DELETE' or 'GET'
primary_key a valid role primary key or a group
kick¶
| Aliases | No alias |
| Brief | Kick the mentioned user. |
| Usage | kick user |
positional arguments:
user an user mention
serverinfo¶
| Aliases | servinfo |
| Brief | Show public data for the server. |
| Usage | serverinfo |