> For the complete documentation index, see [llms.txt](https://dbd-ts.gitbook.io/dbdts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dbd-ts.gitbook.io/dbdts/functions/description.md).

# $description

Sets a embed's description.

### Usage

```php
$description[index;text]
```

This function has two params.

| Param | Description                                   | Type    | Required |
| ----- | --------------------------------------------- | ------- | -------- |
| index | The embed to add this description to.         | Integer | Yes      |
| text  | The text that the description should contain. | String  | Yes      |

### Example

```javascript
bot.commands.add({
  type: "basicCommand",
  name: "example",
  code: `$description[1;This is a description!]`
})
```

![Result](https://user-images.githubusercontent.com/69215413/138605956-a84c322a-2ab1-40b9-85ba-c281062a7bd4.png)
