> For the complete documentation index, see [llms.txt](https://docs.asagi.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.asagi.xyz/guides/json-builder-in-the-asagi-bot.md).

# JSON Builder in the Asagi bot

## Where is JSON code used?

This code can be inserted into commands such as:

`/say` **-** Send a message on behalf of the bot&#x20;

`/settings` **-> Notifications -> Greetings to new members on the server**&#x20;

`/settings` **-> Notifications -> Greetings to new members in DM**&#x20;

`/settings` **-> Notifications -> Farewells**

`/settings` **-> Moderation** (all filters)

{% hint style="info" %}
Using any Embed Builder, you risk not getting the expected result.

We recommend using [https://oldeb.nadeko.bot](https://oldeb.nadeko.bot/)
{% endhint %}

## Description of the website fields

<figure><img src="/files/5or2cnna1IkUQeNxgYrC" alt=""><figcaption></figcaption></figure>

## Changing the color of the embed bar

To choose the color for the bar, click on it.

<figure><img src="/files/Dm4qG04kjWstF5TqUDSs" alt=""><figcaption></figcaption></figure>

You can select from a range of basic colors, but if you prefer a custom color, visit [htmlcolorcodes.com](https://htmlcolorcodes.com/), choose your desired color, copy the code (#), and then paste it into the builder.

<figure><img src="/files/k58bIn4D1PiD28buYHHF" alt=""><figcaption></figcaption></figure>

## Inline parameter

The "Inline" parameter controls the arrangement of fields (in line or column).

<figure><img src="/files/jdzCYn2h54Axd6eijUPf" alt=""><figcaption></figcaption></figure>

Fields with "Inline" disabled:

<figure><img src="/files/idhyeCTsxI0jdEARkWc5" alt=""><figcaption></figcaption></figure>

Fields with "Inline" enabled:

<figure><img src="/files/1WfMyX5arSweLQGNjob2" alt=""><figcaption></figcaption></figure>

## Getting Image URL

{% hint style="info" %}
Image can be either static (**png**, **jpeg**, **jpg**, **webm**) or dynamic (**gif**).
{% endhint %}

{% hint style="info" %}
Example: The website <https://giphy.com/> is used.&#x20;

You can choose any other website, but copying the link may be done differently, including using your browser's right-click menu (PC).
{% endhint %}

\
To copy the image link, follow these steps:

1. Find the image you're interested in.
2. Click on the "Share" button on the right sidebar.
3. Click on the "Copy GIF Link" button.

To use the image link, follow these steps:

1. Go to the Embed Builder.
2. Paste the image into the fields you need.

{% hint style="info" %}
Image insertion is available for the following fields:

* Icon URL
* Thumbnail URL
* Image URL
* Footer icon URL
  {% endhint %}

{% hint style="danger" %}
Example: All fields are filled, including where an image can be inserted.
{% endhint %}

<figure><img src="/files/6FBkhcLSzyNYzk0U3v1G" alt=""><figcaption></figcaption></figure>

## Completing the Editing

After finishing the editing, click the "Copy" button, and the JSON code will be copied to your clipboard for use.

{% hint style="danger" %}
The example demonstrates copying the code. This code still requires additional modifications.

it won't work as shown!
{% endhint %}

<figure><img src="/files/DAAYtCe0BoFbp5CSpugw" alt=""><figcaption></figcaption></figure>

To use our JSON code, follow these steps:

1. Enter the command `/say`
2. Paste the copied text.

<figure><img src="/files/ytfojtXOLoZSK8hAQukk" alt=""><figcaption></figcaption></figure>
