Ban
Ban
Bans a member from the server.
The member variable might be any discord user, inside or outside the server, you can specify a user using its id or by mention, if the member is inside the server you can also simply use the format username#0000.
The reason variable is going to be written in the ban dm and in the log message, this can also be empty, in that case a default one will be used.
This action is going to send a dm to the banned user and a log in the channel setted for bans, more info on log channels here.
This action will delete any previous kick/mute/warn from the userinfo of the user!
UnBan
UnBans a member from the server.
The member variable might be any discord user that has previusly been banned you can specify a user using its id or by mention.
The reason variable is going to be written in the log message, this can also be empty, in that case a default one will be used.
This action is going to send a log in the channel setted for bans, more info on log channels here.
Last updated
Was this helpful?