/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.


Last updated