embed
Create/replace/inspect embeds
Available options:
create
Create new embed from JSON file
Available options:
config_file
Required
File with embed configuration
channel
Channel to send created embed to, defaults to channel command is run on
one_role
Should user be able to pick only one role (default, true) or all roles (false)
replace
Replace bot's message content with embed
Available options:
config_file
Required
File with embed configuration
message_id
Required
ID of message which content should be replaced
channel
Channel where message is located, defaults to channel command is run on
one_role
Should user be able to pick only one role (default, true) or all roles (false)
inspect
Inspect embed in given message
Available options:
channel
Channel where message is located, defaults to channel where command is run
message_id
Required
ID of message which content should be replaced
Embed building help
JSON file describing embed to be sent has to follow this format:
base fields: `title`, `description`, `color`, `author`, `image`, `timestamp`, `footer`, `thumbnail`, `fields`
**Fields format:**
- `color` - color HEX string (eg. `"A6D189"`)
- `image` - url to image
- `thumbnail` - url to image
- `timestamp` - string containing `ISO8601` timestamp
- `author` - object with fields:
- `text` - required, string
- `url` - optional, url
- `image` - optional, url to image
- `footer` - object with fields:
- `text` - required, string
- `image` - optional, url to image
- `fields` - array of objects with fields:
- `name` - required, string
- `value` - required, string
- `inline` - optional, boolean, false by default
- `reactions` - array of objects with fields:
- `name` - required, string, emoji name
- `id` - optional when built-in emoji, required otherwise, integer
You may use `/embed inspect` command to check how existing embeds are built when unsure