getRole

open suspend fun getRole(roleId: Snowflake): Role(source)

Requests to get the Role represented by the roleId.

Throws

if anything went wrong during the request.

if the Role wasn't present.