> For the complete documentation index, see [llms.txt](https://docs.flexy.bot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flexy.bot/modules/discord/steps/get-member-roles.md).

# Get Member Roles

**Introduction**

The "Get Member Roles" step allows for the retrieval of all roles assigned to a specific user within a Discord guild.

**Configuration**

* **Guild**: The guild from which the user's roles will be fetched. This parameter is required to specify the server context for the role query.
* **User**: The user whose roles are to be retrieved. This field is necessary to identify the member whose role information is being sought.

**Outputs**

* **Roles**: A list of roles that the specified user has in the guild.
