iBlitzkriegi / Vixio

Vixio, The Skript Addon made to fit all of your Discord needs.
http://www.vixio.space
40 stars 28 forks source link

Icons for the Title of embeds #305

Open not-3than opened 3 years ago

not-3than commented 3 years ago

Is your feature request related to a problem? Please describe. No.

Describe the solution you'd like I would like to be able to add an icon to the title of an embed rather than just the footer, since it is entirely possible to add an icon to a title, just not in Vixio.

Describe alternatives you've considered I've been using the footer with an icon for a while, but the text cannot be bold and match other embeds from other Discord bots that I want it to.

Additional context n/a

mashmarvin commented 3 years ago

See author info https://olyno.github.io/VixioSite/#new_author_info

not-3than commented 3 years ago

the author of the embed can't be set to anything

iBlitzkriegi commented 3 years ago

Refer to this example:

discord command embed:
    prefixes: /
    trigger:
        broadcast "here"
        make embed and send it to event-channel and store the message in {message::*}:
            broadcast "%{message::*}%"
            set the title of embed to title with text "Title"
            set the description of embed to "Description%nl%The title leads to the URL, if given"
            set the author info of the embed to author named "Author name (Can point to URL)" with no url and icon "https://cdn.discordapp.com/attachments/236641445363056651/405167105760296971/Logov2.jpg"
            set the colour of the embed to Cyan
            add split field named "Field Name" with value "Colour sets %nl%< that" to embed
            add split field named "Field Name" with value "Color is a java Color%nl%Not a string" to embed
            add split field named "Field Name" with value "Field value" to 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 %emote ""smile""%" to embed
            set the image of embed to "https://media.discordapp.net/attachments/237757030708936714/390520880242884608/8xAac.png?width=508&height=522"
            set the thumbnail of embed to "https://cdn.discordapp.com/attachments/236641445363056651/405167105760296971/Logov2.jpg"
            set the footer of embed to footer with text "Footer text" and icon "https://cdn.discordapp.com/attachments/236641445363056651/405167105760296971/Logov2.jpg"
            set the timestamp of embed to now
        reply with "%{message::*}%"

You can see it sets the icon here: set the author info of the embed to author named "Author name (Can point to URL)" with no url and icon "https://cdn.discordapp.com/attachments/236641445363056651/405167105760296971/Logov2.jpg"