Embed Indexes
If you look around BDFD Embed Functions. You’ll see a parameter called Index
. This parameter is used to create multi-embeds.
Creating Multi-Embeds
By default, the Index
is set to 1
(the first embed). To create a second embed, you have to write 2
in Index
parameter and so on. You can specify any number between 1
to 10
in index
parameter.
Total character length of the overall response should not exceed more than 6,000. If it does, the bot won’t send the message.
By default, the parameter Index
is set to 1
(The first embed).
✅ $title[Title]
== $title[Title;1]
❌ $title[Title]
== $title[Title;2]
❌ $title[Title]
== $title[Title;1]
+ $title[Title;2]
Example
$nomention
$color[#673ab7]
$title[Title 1;1]
$description[Hello user!;1]
$footer[I love BDFD]
$color[#673ab7;2]
$title[Embed 2;2]
$description[hello embed!;2]
$color[#673ab7;3]
$title[Embed 3;3]
$description[Посхалка;3]
$addField[First Field;Content;yes;3]
$addField[Second Field;Cat or dog?;yes;3]
How $color
, $title[]
, $description[]
, $footer[]
and $addField[]
works?
All Embed Functions
- With
Index
parameter:
$color[]
- Sets the embed border color.$author[]
- Adds author text to an embed.$authorIcon[]
- Adds an icon to the author section in the embed.$authorURL[]
- Adds a hyperlink to the author text.$title[]
- Adds an embedded title to bot’s response message.$embeddedURL[]
- Sets the title to be a hyperlink.$thumbnail[]
- Adds an embedded thumbnail to the bot’s response message.$description[]
- Adds a description to an embed.$addField[]
- Adds a field to an embed.$image[]
- Adds an image to the embed.$footer[]
- Sets the embed footer text.$footerIcon[]
- Sets the embed footer icon.$addTimestamp
- Adds a timestamp to an embed.$addTimestamp[]
- Adds a timestamp to a specific embed.
- Without
Index
parameter (You can’t separate embeds):
$sendEmbedMessage[]
- Sends an embed message to the provided channel.$editMessage[]
- Edits one of the bot’s messages.