Skip to main content
Version: Stable - 3.3.3

Moderation

To facilitate the work of your moderators, RaidProtect integrates very useful moderation commands that allow you to interact directly with Discord's native features, such as banning and kicking users.

In addition to these actions, RaidProtect sends direct messages to the sanctioned user to explain the reason for their sanction, and this is also recorded in the server logs for your reference.

info

Moderation commands are usable by prefix.

info

All sanction commands accept the [silent] option to skip notifying the target by DM. Notification DMs (kick, softban, temporary ban) include a button with a server invite.

πŸ” Member moderation view​

The /modview command opens a centralized moderation view for a member: their sanctions, internal moderation note and last deleted message are gathered in a single response, with quick actions (sanction, edit the note, etc.).

Use the command: /modview (user)

Replace (user) with the desired mention or ID.

tip

The command is also accessible via the context menu: right-click on a profile β†’ Apps β†’ Open Modview.

πŸ–±οΈ Sanction via the context menu​

In addition to slash commands, you can sanction a member directly from their profile via a right-click: Applications β†’ RaidProtect β†’ Sanction.

A window will open allowing you to:

  • Sanction type: Select the type of sanction to apply.
  • Duration: Enter a duration (optional, e.g.: 1d 2h 30m).
  • Reason: Specify the reason for the sanction.

icon SanctionsBAN Ban a User​

The /ban command allows you to permanently prohibit a user from accessing your server.

Use the command: /ban (user) [delete-messages] [silent] [reason]

Replace (user) with the desired mention or ID and [reason] with the reason for the sanction.

  • [delete-messages]: duration of message history to delete (for example 1h, 1d, 7d). Discord caps the deletion at 7 days maximum.
  • [silent]: skip sending a DM to the target.
tip

You can ban a user using their Discord ID, even if they are not currently online or present on your server.

icon SanctionsBANTemp Temporarily ban a user​

The /tempban command allows you to temporarily prohibit a user from accessing your server.

Use the command: /tempban (user) (duration) [delete-messages] [silent] [reason]

Replace (user) with the desired mention or ID, (duration) with the ban duration, and [reason] with the reason for the sanction. The [delete-messages] parameter lets you delete the member's message history (up to 7 days).

icon SanctionsSOFTBAN Softban a user​

The /softban command bans then immediately unbans a member. This deletes their message history without permanently excluding them from the server: they can come back with a new invitation.

Use the command: /softban (member) [delete-messages] [silent] [reason]

Replace (member) with the desired mention or ID and [reason] with the reason for the sanction. The [delete-messages] parameter lets you choose the duration of messages to delete (default 1 day).

tip

The softban is particularly well-suited to hacked accounts: it cleans up the spam and frees the account, without permanently excluding the member once they've secured their account.

icon SanctionsUNBAN Unban a user​

The /unban command allows you to remove the ban from a previously banned user, thus allowing them to join your server again.

Use the command: /unban (user) [silent] [reason]

Replace (user) with the desired identifier and [reason] with the reason for the unban.

icon SanctionsKICK Kick a User​

The /kick command allows you to remove a member from your server without banning them. The user will be able to rejoin the server if they have a valid invitation.

Use the command: /kick (member) [silent] [reason]

Replace (member) with the desired mention or ID and [reason] with the reason for the sanction.

icon SanctionsTIMEOUT Mute a User​

The /mute command allows you to temporarily restrict a member's ability to interact on the server. During this period, the member will not be able to send messages, react, join voice channels, or send direct messages to other members.

Use the command: /mute (member) (duration) [force_timeout] [silent] [reason]

Replace (member) with the desired mention or ID, (duration) with the mute duration (e.g.: 10m, 1h, 1d), and [reason] with the reason for the sanction.

tip

The [force_timeout] parameter allows you to override the threshold rule and force the use of Discord's timeout, even if a Mute role is configured.

You can configure a Mute role and a mute threshold in /settings > Sanctions. Beyond the defined threshold, the bot will automatically apply the Mute role instead of Discord's timeout, allowing durations longer than 28 days.

icon SanctionsUNTIMEOUT Unmute a user​

The /unmute command allows you to immediately remove the restrictions from a muted member, allowing them to regain all their interaction capabilities on the server.

Use the command: /unmute (member) [silent] [reason]

Replace (member) with the desired mention or ID and [reason] with the reason for removing the timeout.

icon SanctionsJAIL Jail a user​

The /jail command allows you to isolate a member by assigning them a restrictive role. The Jail is intended as an alternative to banning: the member retains very limited access to the server instead of being completely excluded.

Use the command: /jail (member) [silent] [reason]

Replace (member) with the desired mention or ID and [reason] with the reason for the sanction.

warning

The Jail role must be configured via /settings before you can use this command.

icon SanctionsJAILTemp Temporarily jail a user​

The /tempjail command allows you to temporarily jail a member for a defined duration.

Use the command: /tempjail (member) (duration) [silent] [reason]

Replace (member) with the desired mention or ID, (duration) with the jail duration, and [reason] with the reason for the sanction.

icon SanctionsUNJAIL Release a user​

The /unjail command allows you to remove the Jail role from a member, allowing them to regain their normal access to the server.

Use the command: /unjail (member) [silent] [reason]

Replace (member) with the desired mention or ID and [reason] with the reason for the release.

icon SanctionsWARN Warn a user​

The /warn command allows you to formally warn a member via a private message sent by the bot.

Use the command: /warn (member) [silent] [reason]

Replace (member) with the desired mention or ID and [reason] with the reason for the warning.

πŸ“ Moderation note​

The /note command lets you add or edit a member's internal moderation note, without having to go through /modview. The note is only visible to moderators.

Use the command: /note (user)

Replace (user) with the desired mention or ID. A window opens to enter or edit the note.

🧹 Clear a Group of Messages​

The /clear command allows you to quickly delete a certain number of messages in a text channel. You can specify a user to delete only their messages.

Use the command: /clear (number) [user]

Replace (number) with the number of messages you wish to delete (maximum 100). Add [user] using the mention or ID to target only their messages in the channel.

πŸ•’ Enable slowmode in a channel​

The /slowmode command allows you to enable or modify the slowmode of a text channel, in order to limit how frequently users can send messages.

Use the command: /slowmode (delay) [duration] [channel] [reason]

  • Replace (delay) with the desired time between each message (e.g.: 5s, 1m, 10m, 1h; 0 to disable).
  • Add [duration] to automatically disable the slowmode after this duration (e.g. 30m, 2h).
  • Add [channel] if you want to apply slowmode to a different channel than the one where you type the command.
  • Add [reason] to specify the motive, which will be recorded in the server logs.

πŸ•΅οΈ Retrieve a deleted message​

The /snipe command lets you retrieve the last deleted message in a channel, or the last deleted message of a specific user, from the past hour.

Use the command: /snipe [user]

  • Without an argument: shows the last deleted message of the current channel.
  • With [user]: shows the last deleted message by that user.

From the response, you can sanction the author or delete the message (if it's still in the channel).

info

/snipe is a temporary solution while waiting for the logs update. Only messages deleted in the past hour are available.

πŸ“‹ Moderation logs​

By default, moderation logs are sent to RaidProtect's main log channel. You can configure a dedicated log channel to separate moderation actions from other logs.

  1. Use the command /settings.
  2. Click on the "Logs" button.
  3. Select "Moderation".
  4. Choose the channel in which moderation logs will be sent or use the "Create one for me" button.