unban

open suspend fun unban(userId: Snowflake, reason: String? = null)(source)

Requests to unban the given userId.

Parameters

reason

the reason showing up in the audit log

Throws

if something went wrong during the request.