# GetDiscordAvatar

## GetDiscordAvatar

<mark style="color:blue;">`GET`</mark> `exports.Badger_Discord_API:GetDiscordAvatar(user)`

This export allows you to get a user's Discord avatar image URL.

#### Query Parameters

| Name | Type   | Description                                 |
| ---- | ------ | ------------------------------------------- |
| user | object | The source of the player you want to check. |

{% tabs %}
{% tab title="200 Their Discord avatar image URL returned if found:" %}

```
'image.png'
```

{% endtab %}

{% tab title="404 Returns nil if not found:" %}

```
nil
```

{% endtab %}
{% endtabs %}
