Members
(static) this.description :String
The embed's description.
Type:
- String
(static) this.djs :MessageEmbed
The embed as a MessageEmbed.
Type:
- MessageEmbed
(static) this.fields :Array.<EmbedField>
The embed's fields.
Type:
- Array.<EmbedField>
(static) this.thumbnail :String
The embed's thumbnail URL.
Type:
- String
(static) this.title :String
The embed's title.
Type:
- String
Methods
sDescription(desc) → {Embed}
Sets the description of the embed.
Parameters:
Name | Type | Description |
---|---|---|
desc |
String | The description of the embed. |
Returns:
The new embed.
- Type
- Embed
sFields(fields) → {Embed}
Sets the fields of the embed.
Parameters:
Name | Type | Description |
---|---|---|
fields |
Array.<EmbedField> | The title of the embed. |
Returns:
The new embed.
- Type
- Embed
sTitle(title) → {Embed}
Sets the title of the embed.
Parameters:
Name | Type | Description |
---|---|---|
title |
String | The title of the embed. |
Returns:
The new embed.
- Type
- Embed
Type Definitions
EmbedField
A field of an embed.
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
name |
string | Name of the field. |
value |
string | Value of the field. |