# Guild

## Properties

| Property         | Description                                         | Type         |
| ---------------- | --------------------------------------------------- | ------------ |
| client           | Client                                              | Client       |
| id               | ID of the Guild/server.                             | String       |
| ownerID          | The owner of the guild                              | String       |
| type             | The guild's type                                    | String       |
| name             | Guild name                                          | String       |
| url              | URL of the guild                                    | String       |
| about            | 'About' of the guild (description)                  | String       |
| description      | The guild's description                             | String       |
| about            | Same as 'description'.                              | String       |
| iconURL          | the url of the guild's icon                         | String\|null |
| bannerURL        | the url of the guild's banner                       | String\|null |
| timezone         | the timezone of the guild                           | String       |
| defaultChannelID | the id of the default channel of the guild          | String       |
| \_createdAt      | Timestamp (unix epoch time) of the guild's creation | Number       |
| createdAt        | string representation of the \_createdAt timestamp. | Date         |

## Constructor

```javascript
new Message(rawData, client)
```

| Properties | Description                                     | Type                                                                 | Required? |
| ---------- | ----------------------------------------------- | -------------------------------------------------------------------- | --------- |
| 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 %}


---

# 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://legacy.docs.touchguild.com/documentation/select-version/v.0.1.7/components/guild.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.
