# Как создать эмбед

{% hint style="warning" %}
Это работает только в ролях по кнопкам, сообщении от бота, сообщении о повышении уровня, сообщении о заходе на сервер (в канал и в лс), сообщении о выходе с сервера (в канал и в лс)
{% endhint %}

### Создание эмбеда

Для указания параметров и контента эмбеда нужно указать в тексте специальный тег:

```
{newEmbed: }
```

#### Указание параметров

Пример эмбеда с указанием параметров и контента

```
{newEmbed: {title: я пью чай!} {description: Чай вкусный!} {timestamp} 
{field: подзаголовок: еще ТеКсТ: yes}
{color: #ff0000}
}
```

При помощи этого кода получается

<figure><img src="/files/hs5c6bsMbx7MiMmxU2Jk" alt=""><figcaption><p>результат</p></figcaption></figure>

Так же можно указать и обычный текст а не только эмбеды

```
упоминание или Еще чтО-то
{newEmbed: {title: я пью чай!} {description: Чай вкусный!} {timestamp} 
{field: подзаголовок: еще ТеКсТ: yes}
{color: #ff0000}
}
```

Можно не указывать некоторые теги, комбинировать их и т.п.

Полный список тегов указан тут: [КЛИК](https://aoi-parser.vercel.app/documentation/parsers/embed)


---

# 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://ult.scriptyyy.com/vtorosty/kak-sozdat-embed.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.
