Ban Command
Guide on how to ban users from your Discord server
Introduction
The ban command allows moderators to permanently ban users from the server. Banned users will not be able to rejoin the server unless they are unbanned.
Usage
This command can be used by users with the "moderation.ban" permission by running /moderation ban
Response
When a ban is successfully applied, you'll receive confirmation with the following information:
Field | Description |
---|---|
Target | The user who was banned |
Reason | The reason provided for the ban |
Moderator | Who issued the ban |
Customization options
Prop | Type | Description |
---|---|---|
user | string | The user to ban (mention or ID) |
reason? | string | The reason for the ban |
delete_messages_days? | number | Whether to delete the user's recent messages day wise |
delete_message_seconds? | boolean | hether to delete the user's recent messages seconds wise |
Steps to ban a user
Provide a reason It's recommended to always provide a reason for
moderation actions
Important Notes
- Bans are logged in the server's moderation logs
- Users can be banned even if they're not currently in the server
- Banned users will see a "You are banned" message when trying to join
- Server owners cannot be banned
Last updated on