find role in server (guild) with ID (id)
Find a role in a server with a particular ID.
Requires the following blocks to be present in the project: discord login
Parameters
Parameter name | Parameter type | Required? | Description |
---|---|---|---|
guild | guild | ✓ | The server to search for the role in. |
id | String | ✓ | The ID of the role to search for. |
Output
role - The role if found, or null.