Asagi
  • Home
  • Guides
    • How to use the Asagi bot?
    • Configuring Bot Features
      • Interactive Messages
      • Moderation
      • Love Rooms
    • JSON Builder in the Asagi bot
    • Verification
    • Prices and Features of Asagi Premium
  • Other
    • Message Templates
      • Color Names
      • Variables
      • Mentions and Custom Emojis
      • Timestamps
Powered by GitBook
On this page
  • Where is JSON code used?
  • Description of the website fields
  • Changing the color of the embed bar
  • Inline parameter
  • Getting Image URL
  • Completing the Editing

Was this helpful?

  1. Guides

JSON Builder in the Asagi bot

Last updated 9 months ago

Was this helpful?

Where is JSON code used?

This code can be inserted into commands such as:

/say - Send a message on behalf of the bot

/settings -> Notifications -> Greetings to new members on the server

/settings -> Notifications -> Greetings to new members in DM

/settings -> Notifications -> Farewells

/settings -> Moderation (all filters)

Using any Embed Builder, you risk not getting the expected result.

We recommend using

Description of the website fields

Changing the color of the embed bar

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

Inline parameter

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

Fields with "Inline" disabled:

Fields with "Inline" enabled:

Getting Image URL

Image can be either static (png, jpeg, jpg, webm) or dynamic (gif).

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

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.

Image insertion is available for the following fields:

  • Icon URL

  • Thumbnail URL

  • Image URL

  • Footer icon URL

Example: All fields are filled, including where an image can be inserted.

Completing the Editing

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

The example demonstrates copying the code. This code still requires additional modifications.

it won't work as shown!

To use our JSON code, follow these steps:

  1. Enter the command /say

  2. Paste the copied text.

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

Example: The website is used.

htmlcolorcodes.com
https://giphy.com/
https://oldeb.nadeko.bot