Embed Builder (Section) — DiSky

Addon: DiSky · Category: Section · Since: 3.0

Syntax

make [a] [new] [discord] [message] embed [using [the] [template] [(named|with name|with id)] %-string%] [and store (it|the result) in %-~objects%]

Description

This builder allow you to make embed easily. You can specify the template used, you must register this template before use it!

Examples

discord command embed:
    prefixes: !
    trigger:
        make embed:
            set title of embed to "Title"
            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)"
            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
            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 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 title url of embed to "https://www.crunchyroll.com/fr/tonikawa-over-the-moon-for-you"
            set footer of embed to "Footer text"
            set footer icon of embed to "https://cdn.discordapp.com/emojis/825811394963177533.png?v=1"
            set timestamp of embed to now
        reply with last embed

View source