kick

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

Requests to kick the given userId.

Parameters

reason

the reason showing up in the audit log

Throws

if something went wrong during the request.