roles user (user) has in server (guild)
Get the roles a user has in a server.
Requires the following blocks to be present in the project: discord login
Parameters
Parameter name | Parameter type | Required? | Description |
---|---|---|---|
user | user | ✓ | The user to get roles for. |
guild | guild | ✓ | The server to get roles for the user in. |
Output
Array - The roles the user has in the specified server.