Class EmbedOptions
Inherited Members
Namespace: Discore.Http
Assembly: Discore.dll
Syntax
public class EmbedOptions
Properties
| Name | Description |
|---|---|
| Author | Gets or sets the author of the embed (or null to omit). |
| Color | Gets or sets the color of the embed (or null to use default). |
| Description | Gets or sets the description of the embed (or null to omit). |
| Fields | Gets or sets the fields to include in the embed (or null to omit). |
| Footer | Gets or sets the footer of the embed (or null to omit). |
| ImageUrl | Gets or sets the URL of the image to include in the embed (or null to omit). To use attachments uploaded alongside the embed, use the format: attachment://FILENAME_WITH_EXT |
| ThumbnailUrl | Gets or sets the URL of the thumbnail for the embed (or null to omit). |
| Timestamp | Gets or sets the timestamp on the embed (or null to omit). |
| Title | Gets or sets the title of the embed (or null to omit). |
| Url | Gets or sets the URL that the embed links to (or null to omit). |
Methods
| Name | Description |
|---|---|
| AddField(string, string, bool) | Adds a field to the embed. |
| SetAuthor(string?, string?, string?) | Sets the author of the embed. |
| SetColor(DiscordColor) | Sets the color of the embed. |
| SetDescription(string) | Sets the description of the embed. |
| SetFooter(string, string?) | Sets the footer of the embed. |
| SetImage(string) | Sets the URL of the image to include in the embed. To use attachments uploaded alongside the embed, use the format: attachment://FILENAME_WITH_EXT |
| SetThumbnail(string) | Sets the URL of the thumbnail for the embed. To use attachments uploaded alongside the embed, use the format: attachment://FILENAME_WITH_EXT |
| SetTimestamp(DateTime) | Sets the timestamp on the embed. |
| SetTitle(string) | Sets the title of the embed. |
| SetUrl(string) | Sets the URL that the embed links to. |