Embed & Message title

$title[]

Sets the title of a Discord embed. The title appears at the top of the embed, in bold and with a larger font size than the description.

Syntax
$title[text;(embedIndex)]

$title[]

The function $title[] sets the title of a Discord embed. The title is the most visible text of the embed, displayed at the top in bold with a larger font.

Syntax

$title[text;(embedIndex)]

Parameters

Parameter Description
text The text of the title. You can use Discord markdown syntax (bold, italics, underline, etc.).
embedIndex Optional. Index of the embed to modify (default is 0). Use this index to build multiple embeds in the same message (maximum of 10).

Return Value

This function returns nothing; it modifies the response currently being constructed. The embed is sent via $sendMessage[].

Behavior

  • $title[] is a response mutation: it is added to the response currently in progress and will be sent upon the next $sendMessage[] call.
  • If you call $title[] multiple times before a $sendMessage[], only the last call will be applied to that specific embed.
  • The order of calls is important: place $title[] before $description[], $color[], etc.

Examples

Simple Embed with Title

$title[Welcome to the server!]
$description[Thank you for joining us 🎉]
$color[#5865F2]
$sendMessage[]

Title with Markdown Formatting

$title[**Important Announcement** — *Must Read* 📢]
$description[Here is the latest news of the server.]
$color[#FF0000]
$sendMessage[]

Multi-embed: Different Titles for Each Embed

$title[First embed;0]
$description[Content of the first embed;0]
$color[#5865F2;0]

$title[Second embed;1]
$description[Content of the second embed;1]
$color[#57F287;1]

$sendMessage[]

Notes

  • The maximum length of the title is 256 characters.
  • If the text is empty, the title will not be displayed in the embed.
  • For an embed without a title, simply omit the call to $title[].