embeds

This is just a example embed with all the options you can use

-- This is a table inside a table ({{)
-- since you can have multiple embeds within one table

local example_embed = {{
    title = "I'm the title",
    description = "Im the embed description",
    color = 0x5865F2,
    
    author = {
        name = "Test bot",
        icon_url = "url",
    },
    
    footer = {
        text = "Sent via luau",
        icon_url = "url",
    },
    
    fields = {
        {
            name = "I'm a inline field",
            value = "I'm a example inline field",
            inline = true
        },
        {
            name = "I'm a not inline field",
            value = "I'm a example of a field not inline",
            inline = false
        }
    },
    
    thumbnail = { url = "url" },
    image = { url = "url" } 
}}

Last updated