$ban
Bans a user from the server
Usage:
$ban[userID;reason;messages to delete (in days)]
If member can be banned by the bot:
If member can NOT be banned by the bot Read Below why
TIP
You can set days at maximum of 7 days, limitation from discord.
Why can't the bot ban a member?
It could be, that your bot role, is below the member role!
Discord prevents users (members/bots) from banning members above their highest role
Be really careful with adding this to a command!
EVERY member that can execute the command that this function is added in will be able to BAN everyone below the bot role!
We highly suggest, not putting the bot role above "Admin" and "head moderator"
Related Functions
$kick, to kick a member instead of banning him/here
$unban, to unban a member,which is banned