discord_embed
![code/modules/discord/discord_embed.dm 4](git.png)
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 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 |
Var Details
author
![code/modules/discord/discord_embed.dm 26](git.png)
Name of the author of the embed
color
![code/modules/discord/discord_embed.dm 12](git.png)
The colour that appears on the top of the embed. This is an integer and is the color code of the embed.
content
![code/modules/discord/discord_embed.dm 32](git.png)
Any content that should appear above the embed
description
![code/modules/discord/discord_embed.dm 8](git.png)
The description
fields
![code/modules/discord/discord_embed.dm 28](git.png)
A key-value string list of fields that should be displayed
footer
![code/modules/discord/discord_embed.dm 14](git.png)
The footer that appears on the embed
image
![code/modules/discord/discord_embed.dm 16](git.png)
String representing a link to an image
provider
![code/modules/discord/discord_embed.dm 22](git.png)
String representing the name of the provider
provider_url
![code/modules/discord/discord_embed.dm 24](git.png)
String representing the link of the provider
thumbnail
![code/modules/discord/discord_embed.dm 18](git.png)
String representing a link to the thumbnail image
title
![code/modules/discord/discord_embed.dm 6](git.png)
Title of the embed
url
![code/modules/discord/discord_embed.dm 10](git.png)
The URL that the title
video
![code/modules/discord/discord_embed.dm 20](git.png)
String representing a link to the video