ProtectList
  • 👋Introduction
  • Blacklist Module
    • 🚫Report a user
    • 📡Scan a user
  • Moderation module
    • ⛔Ban/unban command
    • 🔇Timeout/untimeout command
  • Dashboard
    • Page 1
  • Premium
    • 🎨For Designers
    • 🖥️For Developers
  • Fundamentals
    • 🛠️Getting set up
      • 📝Setting permissions
      • 🧑Inviting Members
Powered by GitBook
On this page
  • Ban a user
  • Unban a user
  • With the button
  • With the command

Was this helpful?

  1. Moderation module

Ban/unban command

PreviousScan a userNextTimeout/untimeout command

Last updated 12 months ago

Was this helpful?

Ban a user

To ban a user, you just need to run the command /ban and indicating, as in the example below, the user, the duration, the reason and a proof.

The duration, the reason and the proof are not obligatory ! If you don't specify a reason or you don't give a proof, they will be filled as none. If you don't specify a duration, the ban will be definitive.

Once the command is run, the robot will do all the necessary checks to find out if the user can be banned from the server. If this is the case, this message will be resend to you.

Congratulations, you have just banned a user with ProtectList ! The ban informations will be saved by the bot and you will be able to get it.

Unban a user

With the button

You can unban a user with the button below the command response. You just have to click on the button and indicate the reason for the unban in the modal appearing, as below.

When you click on the button Submit, the bot will send this message.

With the command

The command is the same thing than the button. You have just to run the command /unban and indicating, as in the example below, the user ID and the reason.

When you execute this command, the bot will send this message :

Congratulations, you have just unbanned a user with ProtectList ! The unban informations will be saved by the bot and you will be able to get it.

⛔
Example of the command /ban
Example of the command /ban response
Example of the modal for deban a user from the button of the command /ban
Example of the response for a deban of a user from the button of the command /ban
Exemple of the command /unban
Exemple of the response for a deban of a user from the command /unban