getRoleById

open override fun getRoleById(roleId: Long): Role?(source)

Gets a role from the guild.

Return

The role, or null if it doesn't exist.

Parameters

roleId

The id of the role.