Evelina
HomeStatusCommandsFAQInviteSupport Server
  • Overview
    • Introduction
    • Donator Perks
  • Security Setup
    • Antinuke
      • Role creation
      • Role deletion
      • Role editing
      • Role giving
      • Role locking
      • Channel creation
      • Channel deletion
      • Kick
      • Ban
      • Bot adding
    • Join Gate
    • Moderation
    • Auto Moderation
      • Invite
      • Words
      • Spamming
      • Repeat
    • Fake Permissions
  • Server Configuration
    • Roles
      • Vanity Roles
      • Booster Roles
      • Reaction Roles
      • Button Roles
    • Messages
      • System Messages
      • Auto Responders
      • Auto Messages
      • Button Messages
    • Logging
    • Starboard
    • VoiceMaster
    • Level Rewards
    • Bump Reminder
    • Reaction Triggers
    • Command Aliases
  • Miscellaneous
    • Music
    • Tickets
    • Counters
    • Webhook
    • Giveaway
    • Invite Tracker
  • Economy
    • General
  • Business
  • Laboratory
  • Company
  • Cards
  • Games
  • Integrations
    • Last.fm
  • Social Notifications
  • Resources
    • Syntax
    • Scripting
      • Embeds
      • Variables
      • Pagination
    • Permissions
    • Punishments
  • Common Issues
    • iOS Dash
    • Server Removal
Powered by GitBook
On this page
  • Structure
  • Parameters
  • Variables
  • Frequently Asked Questions
  • How can I add a new line to my description parameter?
  • Why isn’t my embed code working for some commands?
  • How can I delete the embed after certens of seconds?
  1. Resources
  2. Scripting

Embeds

Guide to understand the fundamentals of scripting embeds.

PreviousScriptingNextVariables

Last updated 7 days ago

We recommend using our instead of scripting the embeds manually as it is easier

Structure

Each parameter in the embed is represented by a key-value pair which is separated by a colon. For example, the title parameter will look like {title: hello {user}}. The {user} is a which will be filled in with the user’s display name.

  • { begins a parameter.

  • : seperates parameter from content.

  • $v seperates the parameters.

  • } ends a parameter.

Parameters

  • url - The embed URL. (https://..)

  • color - The embed color. (#FFFFFF)

  • title - The embed title. (hello {user})

  • description - The embed description. (hello {user})

  • image - The embed image URL. (https://..)

  • thumbnail - The embed thumbnail URL. (https://..)

  • timestamp - The embed timestamp. (NO ARGUMENTS)

The following parameters require additional arguments which are separated by &&.

Author
  • name - The author’s name.

  • icon - The author’s icon. Optional

  • url - The author’s URL. Optional

{author: name: name && icon: icon && url: url}
{author: name: {user} && icon: {user.avatar} && url: https://evelina.bot}
Field
  • name - The field name.

  • value - The field value.

Include inline at the end of the field to make it inline.

{field: name: name && value: value}
{field: name: {user} && value: this is the value}
Footer
  • text - The footer text.

  • icon - The footer icon. Optional

{footer: text: text && icon: icon}
{footer: text: {user} && icon: {user.avatar}}
Button
  • label - The button label.

  • emoji - The button emoji.

  • url - The button URL.

  • type - blue, green, grey or red.

{button: label: label && emoji: emoji && url: url && style: red}
{button: label: name && emoji: emoji && url: https://evelina.bot && style: red}

Variables

You can use dynamic variables in your embeds to display user-specific information. For example, {user} will be replaced with the user’s display name.

{description: {guild.name}}$v{content: Hello! {user.mention}}

Frequently Asked Questions

How can I add a new line to my description parameter?

If you want to add a new line to your description parameter, you can press SHIFT + ENTER to create a new line.

Why isn’t my embed code working for some commands?

Some commands allow both raw text and embed code. Because of this, you’ll need to specify if youre gonna enter an embed. To do this, you’ll need to begin your embed code with {embed}$v then proceed to write your embed code after as normally.

welcome add #channel {embed}$v{content: Welcome to /{guild.name} {user.mention}}$v{description: Welcome}

How can I delete the embed after certens of seconds?

Add to the end of the embed ${delete: 1}. The number is for the seconds after that the embed get deleted.

You can view the available variables by clicking .

embed builder
variable
here