Documentation
Parsers
Embed Parser

Embed Parser

  • newEmbed creates a new embed usage
{newEmbed: embed sub parsers}
  • title sets the title of the embed
{title: Hello World!}
  • description sets the description of the embed
{description: I am UserSatoshi!}
  • url sets the url of the embed
{url: https\\://usersatoshi.com} // Not real website
  • timestamp sets the timestamp of the embed
{timestamp} /** or */ {timestamp: time in ms}
  • color sets the color of the embed
{color: #ff0000} /** or */ {color: 0xff0000}
  • footer sets the footer of the embed
{footer: Hello World!: https\\://usersatoshi.com/picture.png} // Not real website icon, icon url is optional
  • image sets the image of the embed
{image: https\\://usersatoshi.com/picture.png} // Not real website
  • thumbnail sets the thumbnail of the embed
{thumbnail: https\\://usersatoshi.com/picture.png} // Not real website
  • author sets the author of the embed
{author: Hello World!: https\\://usersatoshi.com/picture.png} // Not real website icon, icon url is optional
  • field adds a field to the embed
{field: Hello World!: I am UserSatoshi!: no} // Field name and field value are required, inline is optional which is the last argument