> For the complete documentation index, see [llms.txt](https://legacy.docs.touchguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacy.docs.touchguild.com/documentation/select-version/v.0.1.7/components/bannedmember.md).

# BannedMember

## Properties

| Property      | Description                                 | Type                                                               |
| ------------- | ------------------------------------------- | ------------------------------------------------------------------ |
| guildID       | ID of the Guild                             | String                                                             |
| ban           | ban information                             | Object                                                             |
| ban.reason    | reason of the ban                           | String                                                             |
| ban.createdAt | timestamp of when the user has been banned. | Number\|null                                                       |
| ban.createdBy | Banned Member ID.                           | String                                                             |
| user          | Banned member information.                  | Object                                                             |
| user.id       | Banned member id                            | String                                                             |
| user.type     | Banned member type                          | String                                                             |
| user.username | Banned member username                      | String                                                             |
| guild         | Guild/server component                      | [Guild](/documentation/select-version/v.0.1.7/components/guild.md) |

## Constructor

```javascript
new BannedMember(guildID, rawData, client)
```

| Properties | Description                                     | Type                                                                 | Required? |
| ---------- | ----------------------------------------------- | -------------------------------------------------------------------- | --------- |
| guildID    | raw data's guild id                             | String                                                               | true      |
| rawData    | raw data received from ws and converted to JSON | Object                                                               | true      |
| client     | Client                                          | [Client](/documentation/select-version/v.0.1.7/components/client.md) | true      |

{% hint style="danger" %}
Do not use this constructor unless you know what you're doing. This constructor is used to return you rawdata into component.
{% endhint %}
