/ban add
Ban a user from the server and log the action with a reason note. This command is part of the Moderation module.
💬 Usage
/ban add <userid> <reason>
<userid>
– The Discord user ID of the person you want to ban.<reason>
– A brief explanation for the ban. This will be stored in the server’s case log and may be shown in mod logs.
⚠️ You must have the proper server permissions to use this command. Pandoryx also needs permission to ban members and must have a higher role than the target.
📌 Example
/ban add 123456789012345678 Spamming slurs in chat
This will:
Ban the user with ID
123456789012345678
Log the action with the reason: “Spamming slurs in chat”
Optionally DM the user (if your moderation DM settings are enabled)
🗃️ Notes
This command does not require the user to be currently in the server — you can ban by ID.
All ban cases can be viewed with
/ban list
or individually with/ban view
.
🔍 Related Commands
/ban list
– View all active ban cases/ban view
– View a specific ban case/ban remove
– Remove a previously logged ban case
Last updated