$ban
Bans a user from the server.
Usage
$ban[userID;reason;messages to delete]
- userID - The ID of the user to ban.
- reason - The reason for the ban.
- messages to delete - The number of days to delete messages from this user. Maximum is 7 days, limited by Discord.
Examples
Sucessful ban
Successful ban with no response
Unsucessful ban
Unsuccessful ban with error message
Permissions
Make sure that the bot does have sufficient permission. The bot also needs to be higher in role hierarchy then the user.
Important Note
If any member who can execute the command with this function, they will be able to ban any member below the bot's highest role. Do not place the bot's role above Admin or Head Moderator roles to avoid banning important member.