Moderation Commands
Netrcol moderation commands for Fluxer: ban, kick, timeout, warn, clear messages and lock or unlock a channel, with the permission each one requires.
Last updated · Author: Ahmet Kadioglu
Topics: ban, kick, timeout, warn, clear, lock, slowmode, role, nick
Overview
The moderation module gives your staff fast, accountable control over the server — from banning and kicking to timeouts, warnings, message cleanup, and channel locks.
Member moderation checks the invoking staff member's role hierarchy; the server owner is the exception. Netrcol also needs the platform permissions to complete the action. Moderation actions are recorded in the moderation log, and a copy is sent to the configured log channel.
Ban
!ban <member> [reason]
Required permission: Ban Members
Bans a member from the server. Checks role hierarchy and refuses to act on members ranked at or above Netrcol. The action is recorded in the moderation log and sent to the configured log channel.
| Option | Type | Required | Description |
|---|---|---|---|
user_id | user | Required | The member to ban |
reason | string | Optional | Reason for the ban |
!ban <@123456789012345678> Repeated rule violations
Unban
!unban <user_id> [reason]
Required permission: Ban Members
Removes a user from the server ban list using their account ID. Logs the action to the configured log channel.
| Option | Type | Required | Description |
|---|---|---|---|
user_id | string | Required | The account ID to unban |
reason | string | Optional | Reason for the unban |
!unban 123456789012345678 Appeal accepted
Kick
!kick <member> [reason]
Required permission: Kick Members
Removes a member from the server. They can rejoin with a new invite. Role hierarchy is enforced and the action is logged.
| Option | Type | Required | Description |
|---|---|---|---|
user_id | user | Required | The member to kick |
reason | string | Optional | Reason for the kick |
!kick <@123456789012345678> Spam
Timeout
!timeout <member> <10m|1h|1d> [reason]
Required permission: Moderate Members
Temporarily mutes a member so they cannot send messages or speak. The duration accepts units like 10m, 1h, or 1d.
Notes
- Timeout duration must be between 1 minute and 28 days.
| Option | Type | Required | Description |
|---|---|---|---|
user_id | user | Required | The member to time out |
duration | duration | Required | Length of the timeout, e.g. 10m, 1h, 1d |
reason | string | Optional | Reason for the timeout |
!timeout <@123456789012345678> 1h Cool down
Remove Timeout
!untimeout <member>
Required permission: Moderate Members
Clears an active timeout from a member, letting them chat again immediately.
| Option | Type | Required | Description |
|---|---|---|---|
user_id | user | Required | The member to un-timeout |
!untimeout <@123456789012345678>
jail
!jail <member> [10m|2h|7d] [reason]
Required permission: Moderate Members, Manage Roles, or Jail staff role
Isolates a member in jail and strips their roles.
Notes
- Omit the duration for a permanent jail until released with unjail.
!jail <@123456789012345678> 2h Rule violation!jail <@123456789012345678> Repeated disruption
unjail
!unjail <member> [reason]
Required permission: Moderate Members, Manage Roles, or Jail staff role
Releases a member from jail and restores their previous roles.
!unjail <@123456789012345678>!unjail <@123456789012345678> Appeal accepted
jaillist
!jaillist
Required permission: Moderate Members, Manage Roles, or Jail staff role
Lists members currently in jail.
!jaillist
Warn
!warn <member> [reason]
Required permission: Moderate Members
Adds a warning to a member's record, including who issued it and the reason. Warnings are stored and can be reviewed later.
| Option | Type | Required | Description |
|---|---|---|---|
user_id | user | Required | The member to warn |
reason | string | Optional | Reason for the warning |
!warn <@123456789012345678> Mild spam
Warnings
!warnings <member>
Required permission: Moderate Members
Lists every warning recorded for a member, with reasons and the moderators who issued them.
Notes
- Shows the latest 10 warnings and the total number of recorded warnings.
| Option | Type | Required | Description |
|---|---|---|---|
user_id | user | Required | The member whose warnings to show |
!warnings <@123456789012345678>
Remove Warnings
!unwarn <member> <number|all> [reason]
Required permission: Moderate Members
Removes one warning by the number the warnings command shows, or every warning with all. The removal is recorded in the moderation log.
Notes
- Use the number the warnings command shows, or all to remove every warning.
| Option | Type | Required | Description |
|---|---|---|---|
user_id | user | Required | The member whose warnings to remove |
number | string | Required | Warning number from the warnings list, or all |
reason | string | Optional | Reason recorded in the moderation log |
!unwarn <@123456789012345678> 2 Appeal accepted!unwarn <@123456789012345678> all
Clear
!clear <1-100>
Required permission: Manage Messages
Bulk-deletes recent messages in the current channel. Accepts a number between 1 and 100. Messages older than 14 days may not be removable.
Notes
- Only messages before the command are considered. Use a whole number from 1 to 100.
| Option | Type | Required | Description |
|---|---|---|---|
amount | number | Required | How many messages to delete (1-100) |
!clear 25
Clear User
!clear-user <member> <1-100>
Required permission: Manage Messages
Deletes recent messages from one specific member in the current channel, up to the given count.
Notes
- Searches the 100 messages before the command and deletes up to the requested number from that member.
| Option | Type | Required | Description |
|---|---|---|---|
user_id | user | Required | The member whose messages to delete |
count | number | Required | How many of their messages to scan/delete (1-100) |
!clear-user <@123456789012345678> 25
Lock
!lock [channel]
Required permission: Manage Channels
Locks the current channel so regular members can no longer send messages. Useful for pausing a busy channel.
Notes
- Omit the channel to use the current channel. You need Manage Channels in the target channel.
- Only the send-message permission changes; other channel permissions are preserved.
!lock!lock <#333333333333333333>
Unlock
!unlock [channel]
Required permission: Manage Channels
Reverses a lock, restoring the ability to send messages in the current channel.
Notes
- Omit the channel to use the current channel. You need Manage Channels in the target channel.
- Restores the send-message permission recorded before the lock without changing other permissions.
- If the recorded permission already denied sending, it remains denied and the response explains this. Role overrides may still allow members to send.
!unlock!unlock <#333333333333333333>
unlockall
!unlockall
Required permission: Manage Channels
Restores every channel a security lockdown locked.
Notes
- Restores a recorded security lockdown; it is not a bulk override of every channel.
!unlockall
Slowmode
!slowmode <0-21600>
Required permission: Manage Channels
Sets the channel slowmode delay in seconds. Use 0 to turn it off. The maximum is 21600 seconds (6 hours).
Notes
- Use a whole number of seconds. Zero disables slowmode; the maximum is 21600 seconds.
| Option | Type | Required | Description |
|---|---|---|---|
seconds | number | Required | Delay between messages, 0 to 21600 |
!slowmode 10!slowmode 0
Role
!role <add|remove> <member> <role>
Required permission: Manage Roles
Adds or removes a role from a member. Netrcol's own role must be positioned above the target role — see Permissions & Roles.
Notes
- The role must be below your highest role. A role mention, ID, or exact role name is accepted.
| Option | Type | Required | Description |
|---|---|---|---|
action | add | remove | Required | Whether to add or remove the role |
user_id | user | Required | The member to modify |
role | role | Required | Role ID or exact role name |
!role add <@123456789012345678> <@&222222222222222222>!role remove <@123456789012345678> <@&222222222222222222>
Set Nickname
!setnick <member> <new_name>
Required permission: Manage Nicknames
Changes a member's server nickname.
| Option | Type | Required | Description |
|---|---|---|---|
user_id | user | Required | The member to rename |
new_name | string | Required | The new nickname |
!setnick <@123456789012345678> Helper