/tg/ Station 13 - Modules - TypesVar Details

discord_embed

Documentation for the embed object and all of its variables can be found at https://discord.com/developers/docs/resources/channel#embed-object It is recommended to read the documentation on the discord website, as the information below could become outdated in the future.

Vars

authorName of the author of the embed
colorThe colour that appears on the top of the embed. This is an integer and is the color code of the embed.
contentAny content that should appear above the embed
descriptionThe description
fieldsA key-value string list of fields that should be displayed
footerThe footer that appears on the embed
imageString representing a link to an image
providerString representing the name of the provider
provider_urlString representing the link of the provider
thumbnailString representing a link to the thumbnail image
titleTitle of the embed
urlThe URL that the title
videoString representing a link to the video

Var Details

author

Name of the author of the embed

color

The colour that appears on the top of the embed. This is an integer and is the color code of the embed.

content

Any content that should appear above the embed

description

The description

fields

A key-value string list of fields that should be displayed

footer

The footer that appears on the embed

image

String representing a link to an image

provider

String representing the name of the provider

provider_url

String representing the link of the provider

thumbnail

String representing a link to the thumbnail image

title

Title of the embed

url

The URL that the title

video

String representing a link to the video