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.
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.
Every action checks role hierarchy (Netrcol can only act on members and roles below its own) and is written to the moderation log. When a log channel is configured, a copy is also posted there. Each command requires the matching permission, which administrators bypass.
Ban
!ban <user_id> [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 <user_id> [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 <user_id> <duration> [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.
| 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 <user_id>
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
Warn
!warn <user_id> [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 <user_id>
Required permission: Moderate Members
Lists every warning recorded for a member, with reasons and the moderators who issued them.
| Option | Type | Required | Description |
|---|---|---|---|
user_id | user | Required | The member whose warnings to show |
!warnings 123456789012345678
Clear
!clear <amount>
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.
| Option | Type | Required | Description |
|---|---|---|---|
amount | number | Required | How many messages to delete (1-100) |
!clear 50
Clear User
!clear-user <user_id> <1-100>
Required permission: Manage Messages
Deletes recent messages from one specific member in the current channel, up to the given count.
| 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
Required permission: Manage Channels
Locks the current channel so regular members can no longer send messages. Useful for pausing a busy channel.
!lock
Unlock
!unlock
Required permission: Manage Channels
Reverses a lock, restoring the ability to send messages in the current channel.
!unlock
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).
| Option | Type | Required | Description |
|---|---|---|---|
seconds | number | Required | Delay between messages, 0 to 21600 |
!slowmode 10!slowmode 0
Role
!role <add|remove> <user_id> <role_id|role_name>
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.
| 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 Verified!role remove 123456789012345678 Muted
Set Nickname
!setnick <user_id> <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
Modlog Setup
!modlog-setup <channel_id>
Required permission: Manage Server
Sets the channel where a copy of every moderation action is posted.
| Option | Type | Required | Description |
|---|---|---|---|
channel_id | channel | Required | Channel that receives moderation log entries |
!modlog-setup 123456789012345678
Modlog Status
!modlog-status
Required permission: Manage Server
Shows the current moderation log configuration for the server.
!modlog-status
Modlog History
!modlog-history
Required permission: Manage Server
Shows recent moderation actions taken in the server.
!modlog-history