Skip to content

/ban

Tip

This command requires the administrator permission by default. To learn how to change this, please check the faq command.

Ban user(s) from your server.

Parameters:

Name Type Description Default
users str

A series of users to ban, provided either by ID or mentioning them. Separated with :.

required
reason Optional[str]

A reason for the users to be banned. Defaults to None.

None
delete_days int

The amount of days of messages you want to delete. Defaults to 0.

0