> For the complete documentation index, see [llms.txt](https://docs.ecdao.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ecdao.org/products/emerald-bot/discovery/users-with-role.md).

# Users with Role

{% hint style="info" %}
Before reading below, make sure you have invited the Emerald bot to your Discord server using [this link](https://discord.com/oauth2/authorize?client_id=907407354427998279\&permissions=294473821264\&scope=bot%20applications.commands).
{% endhint %}

### Command

```
/userswithrole
```

#### Inputs

1. `role`- the role the citizens have
2. `wallet` (*optional*) - only return a specific type of wallet address (will be N/A if they don't have it)

### Helpful Pictures

<figure><img src="/files/4UyANFXAi16LIiD71mTO" alt=""><figcaption><p>Example Usage</p></figcaption></figure>

<figure><img src="/files/HReNp7gcSlYSNh3o48JO" alt=""><figcaption><p>Example Result</p></figcaption></figure>
