Simple Messages
DiSky allows you to send or reply to messages. Although simple text works, bots can also use "embeds", with different ways to organize the structure of your message.
Simple Text Message
Simple text messages are just ... text! Use the post effect (or reply if you're in a DiSky event) and just specify the text you can send:
  
Simple Embed Message
An embed can have different properties:
- Title (+ title URL)
 - Author (+ author icon & URL)
 - Description
 - Color
 - Image
 - Thumbnail
 - Footer (+ footer icon)
 - Timestamp
 - Fields (inline or not)
 
Here's an example embed containing all the above properties:
  
Warning
You cannot set a "sub" property (in orange) without setting the main property. For example, you can't set an author icon without an author.
The code for the above embed is the following:
make embed and store it in {_embed}: #(1)!
    set title of embed to "Title"
    set title url of embed to "https://www.crunchyroll.com/fr/tonikawa-over-the-moon-for-you"
    set description of embed to "Description%nl%The title leads to the URL, if given"
    set author of the embed to "Author name (Can point to URL)" # author must be set first
    set author icon of embed to "https://cdn.discordapp.com/emojis/825811394963177533.png?v=1"
    set author url of embed to "https://www.youtube.com/watch?v=i33DB6R8YUY"
    set embed color of the embed to orange #(2)!
    add inline field named "Field Name" with value "Colour sets %nl%< that" to fields of embed
    add inline field named "Field Name" with value "Color is a java Color%nl%Not a string" to fields of embed
    add inline field named "Field Name" with value "Field value" to fields of embed
    add field named "Non-inline field name" with value "The number of fields that can be shown on the same row is limited to 3, but is limited to 2 when an image is included" to fields of embed
    set footer of embed to "Footer text"
    set footer icon of embed to "https://cdn.discordapp.com/emojis/825811394963177533.png?v=1"
    set image of embed to "https://media.discordapp.net/attachments/237757030708936714/390520880242884608/8xAac.png?width=508&height=522"
    set thumbnail of embed to "https://cdn.discordapp.com/emojis/825811394963177533.png?v=1"
    set timestamp of embed to now
- The provided variable will be changed along with the embed, but the 
embedexpression is only available in themake embedsection! - You can also use a color from its hex code using 
set embed color of embed to hex "#FF0000"! 
Once the section is run, you can post/reply with the newly stored embed, such as:
Want to reuse embeds? Use Embed Templates! (since v4.26.0)
DiSky v4.26.0 brings back embed templates from DiSky v3! Instead of recreating the same embed multiple times, you can register a template and reuse it:
# Register a template once
register embed "welcome":
    set title of embed to "Welcome!"
    set embed color of embed to blue
    set description of embed to "Thanks for joining our server!"
    set footer of embed to "We hope you enjoy your stay"
# Use it anywhere
reply with embed template "welcome"
post embed template "welcome" to text channel with id "000"
See the Register Embed Template effect and Embed Template expression for more details.