kickPlayer

fun kickPlayer(actorId: UUID, targetId: UUID, channelId: String): Result<Unit>(source)

Removes targetId from channelId as a moderation action on actorId's authority.

Return

Result indicating success or failure.

Throws

if actorId does not hold a higher role than the target.

if the target is exempt from moderation.