ban User
open override fun banUser(guildId: Long, userId: Long, deleteMessageDuration: Duration, reason: String?): CompletableDeferred<NoResult>(source)
Bans a user from the guild.
Return
A CompletableDeferred that will ban the user.
Parameters
guild Id
The id of the guild.
user Id
The id of the user.
delete Message Duration
The duration of the messages to delete.
reason
The reason for the ban.