Say and Edit MoBot Embeds - nosv1/MoBot GitHub Wiki

Example of an Embed

Example of an Embed


How to Create Your Own Embed

Each element in the embed shown is editable using MoBot. To edit these elements we need to use symbols to make sure MoBot knows what to edit.

Embed Elements

  • #Color - the colored line on the left (hex-value , #d1d1d1)
  • $$Author Icon - the picture in the top-left
  • !!Author Line - does not support text formatting (no bold, italics, underline, etc)
  • %%Thumbnail - the picture in the top-right
  • ^^Description
  • @@Field Name
  • Field Value - no symbols needed
  • &&Embed Picture - the big picture at the bottom
  • ##Footer - again, does not support text formatting

How to Send an Embed Message

Each element should start on a new line (except for the color).

@MoBot#0697 say embed #d1d1d1  
!!Author Line
^^Description  
@@Field Name 1
Field Value 1  
  
@@Field Name 2  
Field Value 2  
  
##Footer  
$$insert_author_picture_url
%%insert_thumbnail_picture_url  
&&insert_big_picture_url

Notes

  • You can pick and choose which elements you want.
  • If you don't have the picture URL, you can insert pictures using the edit embed command (see below).

How to Edit an Embed

You can edit an embed by simply editing your previous say embed message. You need to replace say with edit and include the message_id of the new embed after the word embed (@MoBot#0697 edit embed message_id ...).

Examples

  • Editing the color: @MoBot#0697 edit embed 593862550861512704 #0000ff
  • Editing the author line: @MoBot#0697 edit embed 593862550861512704 !!New Author Text
  • Inserting a thumbnail: @MoBot#0697 edit embed 593862550861512704 %%%% (attach the picture with this command)

Notes

  • If you want to edit the Field Names or Field Values, you need to include each pair (all field names and values) each time you edit them.
    • Field Names and Values go together. If you have a Field Value without a Field Name, a blank line will be inserted, and vice versa.

Final Notes

  • Given each element needs to start on a new line, it gets difficult putting line breaks in your embeds; to get around this, you can use the character \n as a newline symbol.
    • Example: ^^First Line\nSecond Line
  • You cannot put spaces in front of a line - discord trims the beginning and end. However, if you copy this symbol it'll serve as a special space character which won't be removed.

Permissions Required

User Needs: Manage Messages
MoBot Needs: Send Messages