Get Role
Get a role in the specified server.
Inputs
Server ID
The Server ID of the server from which you want to get the role.
Role ID
The Role ID of the role you want to get.
Outputs
Role ID
The Role ID of the role you entered.
Role Name
The name of the role you retrieved.
Role Color
The color of the role in RGB format.
Role Hoist
Returns true or false if the role is shown on the sidebar.
Role Position
The position of the role. Position 0 is the ’everyone’ role. The higher the number, the higher it is in the role list.
Role Permissions
Gives you an integer with the role permission in return. You can check which integer corresponds to which permission in the panel in the Developer Portal under the ‘Bot’ category.
Role Managed
It returns true or false depending on whether the role was created by an integration.
Role Mentionable
It returns true or false depending on whether the role is mentionable.
Role Mention
It returns the mention of the role.