# Embeds

Check the [Discord Wiki](https://discord.com/developers/docs/resources/message#embed-object) for more information on how to format a embed message using the [json format](https://www.w3schools.com/js/js_json_syntax.asp).

## goal-reached.json

````json
{ 
 "username": "%default-username%",
  "avatar_url": "%default-avatar%",
  "embeds": [
    {
      "title": "The %goal% was completed ($%target%)",
      "description": "```We have successfully completed the %goal% for the %times_achieved% time!```",
      "color": "b64fff",
      "author": {
        "name": "%store%",
        "url": "https://dsc.gg/crowndevelopment",
        "icon_url": "https://raw.githubusercontent.com/Obeeyyyy/images/refs/heads/main/crown-development-logo.png"
      },
      "thumbnail": {
        "url": "https://raw.githubusercontent.com/Obeeyyyy/images/refs/heads/main/crown-development-logo.png"
      },
      "fields": [
        {
          "name": "Reward",
          "value": "```\n* Thank you from Obey\n\n```",
          "inline": false
        }
      ],
      "footer": {
        "text": "Monthly Goal: 100%  🟩🟩🟩🟩🟩🟩🟩🟩🟩🟩",
        "icon_url": "https://raw.githubusercontent.com/Obeeyyyy/images/refs/heads/main/crown-development-logo.png"
      }
    }
  ]
}
````

## milestone-reached.json

````json
{
  "username": "%default-username%",
  "avatar_url": "%default-avatar%",
  "embeds": [
    {
      "title": "🎉 Milestone reached: %milestone%",
      "description": "```We have reached %milestone%% on the %goal%!```",
      "color": "ffa742",
      "author": {
        "name": "%store%",
        "url": "https://dsc.gg/crowndevelopment",
        "icon_url": "https://raw.githubusercontent.com/Obeeyyyy/images/refs/heads/main/crown-development-logo.png"
      },
      "thumbnail": {
        "url": "https://raw.githubusercontent.com/Obeeyyyy/images/refs/heads/main/crown-development-logo.png"
      },
      "footer": {
        "text": "Monthly Goal: %ctd_goal_reached_percentage_46545%% / 100%  %ctd_goal_dcbars_46545%",
        "icon_url": "https://raw.githubusercontent.com/Obeeyyyy/images/refs/heads/main/crown-development-logo.png"
      }
    }
  ]
}
````

## purchase.json

````json
{
  "username": "%default-username%",
  "avatar_url": "%default-avatar%",
  "embeds": [
    {
      "title": "Thank You for your support!",
      "description": "```%player% has spent $%amount% in our store!```",
      "color": "42f584",
      "thumbnail": {
        "url": "https://raw.githubusercontent.com/Obeeyyyy/images/refs/heads/main/crown-development-logo.png"
      },
      "author": {
        "name": "Visit our Store now!",
        "url": "%store%",
        "icon_url": "https://minotar.net/cube/%playername%/100.png"
      },
      "fields": [
        {
          "name": "Packages",
          "value": "```diff\n+ %package%\n```",
          "inline": false
        }
      ],
      "image": {
        "url": "%image%"
      },
      "footer": {
        "text": "Monthly Goal: %ctd_goal_reached_percentage_46545%% / 100%  %ctd_goal_dcbars_46545%",
        "icon_url": "https://minotar.net/cube/%playername%/100.png"
      }
    }
  ]
}
````

## sale.json

````json
{
  "username": "%default-username%",
  "avatar_url": "%default-avatar%",
  "embeds": [
    {
      "title": "Activated %sale% Sale!",
      "description": "> Visit our [Store](%store%) now! :tada:",
      "color": "ff87e1",
      "author": {
        "name": "%store%",
        "url": "https://dsc.gg/crowndevelopment",
        "icon_url": "https://raw.githubusercontent.com/Obeeyyyy/images/refs/heads/main/crown-development-logo.png"
      },
      "thumbnail": {
        "url": "https://raw.githubusercontent.com/Obeeyyyy/images/refs/heads/main/crown-development-logo.png"
      },
      "fields": [
        {
          "name": "Information",
          "value": "```diff\n+ Visit our Store now!\n\n```",
          "inline": false
        }
      ],
      "footer": {
        "text": "%store%",
        "icon_url": "https://raw.githubusercontent.com/Obeeyyyy/images/refs/heads/main/crown-development-logo.png"
      }
    }
  ]
}
````


---

# 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://obey.gitbook.io/wiki/legacy-wiki/plugins/crowntebexdata/embeds.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.
