Embeds

Build rich Fluxer embeds with the embed() builder and chainable setters.

Building an embed

Build an embed with embed() and chain setters. Pass the finished embed to say(...) to send it.

rune
8 lines

Every setter returns the embed, so the whole thing fits on one line. That includes the set* versions like setTitle and setDescription.

rune
1 line

Setters

methoddoes
title(text)the embed title
description(text)the main text
color(value)a color
url(link)a link for the title
author(name, url, iconUrl)the author line
thumbnail(url)the small image top right
image(url)the large image
footer(text, iconUrl)the footer
timestamp(value)a timestamp
field(name, value, inline)adds a field
fields(...) / addFields(...)adds fields

Colors

Pass a number, a #RRGGBB string, or a named color.

rune
4 lines

Limits

Fields are capped at 25, names at 256 characters, and values at 1024 characters. The whole embed follows the usual Fluxer limits.

Embed count

At most 10 embeds can be sent by a single tag. See the Overview for the full sandbox limits.