# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flexy.bot/modules/discord/steps/get-member-roles.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
