# Ignore Messages From Some Users

Once you have created a Discord agent and connected it to your server, you may want to ignore messages sent by users that don't need responses from our Q\&A agent. To ignore messages from some users, follow these steps:

1. In your Discord server, add a role to the users you want to ignore messages from. You may already have roles set up—if a role or combination of roles matches the users you want to ignore messages from, you can skip this step. [What are Discord roles?](https://support.discord.com/hc/en-us/articles/214836687-Discord-Roles-and-Permissions)
2. Navigate to the Discord agent connected to this Discord server. If you have permission to edit agents, you will see an "Edit configuration" button.
3. Add the role(s) you want to ignore messages from under "Ignored roles" and save your changes.\\

   <figure><img src="/files/COQAA04nxUcXUQerBGBZ" alt="" width="375"><figcaption><p>Example Discord agent configuration with Ignored roles set</p></figcaption></figure>
4. Confirm that you have successfully added the correct role(s) to the agent's configuration. You should see the role(s) under "Ignored roles" on the Discord agent's page after saving.\\

   <figure><img src="/files/CyaFKU8IdombsBlbzW2q" alt=""><figcaption><p>Example Discord agent after saving new ignored roles</p></figcaption></figure>
5. Wait up to a minute before testing. Changes to your agent's configuration can take up to a minute before they're applied to your server(s).


---

# 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.katara.ai/about/agents/conversational/discord/ignore-messages-from-some-users.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.
