ShadowBanUser

constructor(user: User, reason: String? = null, timeout: Int? = null)

Parameters

user

The user to be blocked.

reason

The reason for shadow banning the user.

timeout

The time until the shadow ban is automatically removed for the given user, expressed in minutes. A null value represent an indefinite ban.