Even though this isn't a very complicated command, there are still a few things to talk about with it.
So ban saves some information into the database. Let me first give you all the args(arguments)
?ban [@user] [reason]
?ban @Tazio#4200 Being the best person in the world
Now that is explained, only midrank people and above can use this command. Lowrank, well, sorry but you're just not good enough.
In our database we store:
Once you unban the user, it will still be in our database only our "Unbanned" will say "true".