Block Commands
All block commands are grouped under the /block slash command and are only
available in servers.
Requires the Moderate Members permission.
/block add #
Block a member from interacting with the bot.
| Parameter | Required | Description |
|---|---|---|
member |
Yes | The user to block. |
duration |
No | Block duration (e.g. 10s, 5m, 6h, 2d, 1y). |
reason |
No | Reason for the block. |
Notes:
- You cannot block yourself.
- Non-administrators cannot block members with an equal or higher role.
- Maximum duration is 5 years.
- Omitting the duration creates a permanent block.
/block remove #
Unblock a user, allowing them to interact with the bot again.
| Parameter | Required | Description |
|---|---|---|
user |
Yes | The user to unblock. |
Returns an error if the user is not currently blocked in the server.
/block check #
Check if a user is blocked, and if so, display the block details.
| Parameter | Required | Description |
|---|---|---|
user |
Yes | The user to check. |
The response includes:
- Whether the user is blocked (server or globally).
- Who issued the block.
- The reason, if one was provided.
- When the block expires, if a duration was set.