getMemberRole

fun getMemberRole(playerId: UUID, channelId: String): Result<ChannelRole>(source)

Gets the role of a member in a channel.

Return

Result containing the ChannelRole of the member.

Parameters

playerId

The UUID of the player.

channelId

The ID of the channel.

Throws

if the player is not a member of the channel.