By default, this command requires the Ban Members permission. This command requires the bot to have the Ban Members permission.
Syntax
| Parameter | Information |
|---|---|
user | The user to ban. |
reason | The reason to log and send to the user. |
private-notes | A private reason to log (not sent to the user). |
duration | If specified, the user will be unbanned after this duration. Banning them again with a different duration will override this. |
purge-duration | Purge the specified period of chat history from this user if applicable (up to 7 days). |
silent | If true, the user will not be notified of their ban. |