unbanUser

abstract fun unbanUser(guildId: Long, userId: Long, reason: String? = null): CompletableDeferred<NoResult>(source)

Unbans a user from the guild.

Return

A CompletableDeferred that will unban the user.

Parameters

guildId

The id of the guild.

userId

The id of the user.

reason

The reason for the unban.