# Moderation commands — Ovels Discord bot

Canonical page: https://bot.ovels.in/wiki/commands/moderation

Warnings, timed mutes, kicks, bans, and everything else staff need to keep a server in order.

### /ban

bans the specified member

*requires BanMembers*

Options:
- `user` (required) — the target member
- `reason` (optional) — reason for ban

### /bans

List all banned users in the guild with the reason.

*requires BanMembers*

### /kick

kicks the specified member

*requires KickMembers*

Options:
- `user` (required) — the target member
- `reason` (optional) — reason for kick

### /lock

Locks a channel

*requires ManageChannels*

Options:
- `channel` (required) — Channel to lock
- `reason` (optional) — Reason for locking (optional)

### /nick

nickname commands

*requires ManageNicknames*

Options:
- `set` (optional) — change a members nickname
- `reset` (optional) — reset a members nickname

### /purge

purge commands

*requires ManageMessages*

Options:
- `all` (optional) — purge all messages
- `attachments` (optional) — purge all messages with attachments
- `bots` (optional) — purge all bot messages
- `links` (optional) — purge all messages with links
- `token` (optional) — purge all messages containing the specified token
- `user` (optional) — purge all messages from the specified user

### /softban

softban the specified member. Kicks and deletes messages

*requires KickMembers*

Options:
- `user` (required) — the target member
- `reason` (optional) — reason for softban

### /timeout

timeouts the specified member

*requires ModerateMembers*

Options:
- `user` (required) — the target member
- `duration` (required) — the time to timeout the member for
- `reason` (optional) — reason for timeout

### /unban

unbans the specified member

*requires BanMembers*

Options:
- `name` (required) — match the name of the member
- `reason` (optional) — reason for ban

### /unlock

Unlocks a channel

*requires ManageChannels*

Options:
- `channel` (required) — Channel to unlock

### /untimeout

remove timeout from a member

*requires ModerateMembers*

Options:
- `user` (required) — the target member
- `reason` (optional) — reason for timeout

### /voice

voice moderation commands

*requires MuteMembers, MoveMembers, DeafenMembers*

Options:
- `mute` (optional) — mute a member's voice
- `unmute` (optional) — unmute a muted member's voice
- `deafen` (optional) — deafen a member in voice channel
- `undeafen` (optional) — undeafen a member in voice channel
- `kick` (optional) — kick a member from voice channel
- `move` (optional) — move a member from one voice channel to another

### /warn

warns the specified member

*requires KickMembers*

Options:
- `user` (required) — the target member
- `reason` (optional) — reason for warn

### /warnings

list or clear user warnings

*requires KickMembers*

Options:
- `list` (optional) — list all warnings for a user
- `clear` (optional) — clear all warnings for a user
