/datum/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 | |
author | Name of the author of the embed |
---|---|
color | The color 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 |
Var Details
author
Name of the author of the embed
color
The color 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