Skip to content

Embed

embed

Used to create an embed.

Schema fields #

Key Type Description
title String The title of the embed.
url String The URL redirect when clicking on the embed title.
description String The description below the title.
author Embed author object The author shown on top of the embed.
fields List of Embed field objects The fields inside the embed.
color Color object The color of the embed.
footer Embed footer object The footer shown at the bottom of the embed.
image File object The image file to be used for the embed's image.
thumbnail File object The image file to be used for the embed's thumbnail.
timestamp Timestamp object The timestamp of the embed.

Author#

embed_author

Used to create the author in an embed.

Can also be parsed directly from a User value, or a string (which will only set name).

Schema fields #

Key Type Description
name String The display name of the author.
url String The URL link when clicking on the author name.
icon File object The image file to use for the author icon.

Field#

embed_field

Used to create a field in an embed.

Schema fields #

Key Type Description
name String The name/title of this field.
value String The value/description of this field.
inline Boolean Whether this field should be inline.

Used to create the footer in an embed.

Schema fields #

embed_footer

Key Type Description
text String The footer text.
icon File object The image file to use for the footer icon.