shadowBanUser

fun shadowBanUser(userId: String, reason: String? = null, timeout: Int? = null)

Shadow bans the given user inside this channel.

Parameters

userId

The ID of the user to be shadow banned.

reason

The reason for shadow banning the user.

timeout

The period of time for which the user will be shadow banned, expressed in minutes. A null value signifies that the user will be shadow banned for an indefinite time.