ZymiLog in
Pages
Custom commands

Texts and embeds

The Reply, Message to a channel and Direct message blocks send a message: a Text, an embed, or both. Random reply and Stop send text only.

Placeholders

Write a placeholder in curly brackets and Zymi puts the real value in when the command runs. The editor lists the ones you can use under every text.

PlaceholderBecomes
{author}Who ran the command, as a mention
{author.name}Their name
{server}The server's name
{channel}The channel the command was run in
{command}The command, like /roles pick
{roles}The roles of the Give or take roles blocks the command went through, as mentions
{roles.name}Their names

Each parameter is a placeholder too, by its name:

Parameter type{name} becomes{name.name} becomes
MemberA mention of the memberTheir name
RoleA mention of the roleIts name
ChannelA link to the channelIts name
Text, Number, Pick from a listWhat was filled in

A placeholder of a parameter that was left empty stays as it is written. Use an If block when a text needs it.

Mentions don't ping

Mentions in a command's messages show as names and links, but never ping anyone: not the member, not a role, not @everyone. Text that a member typed in a parameter is shown as plain text, so it can't pretend to be a mention either.

Embeds

Tick Add an embed under the text to add one:

  • Title: up to 256 characters.
  • Description: Discord formatting works: **bold**, *italic*, links and line breaks. Up to 4,000 characters.
  • Color: pick one, or type a code like #F97316.
  • Footer: small text at the bottom.
  • Picture: a small picture at the top right: No picture, Avatar of who ran it, or Avatar of the member parameter.

Titles and footers show names instead of mentions, because Discord doesn't show mentions there.

A message with an embed, using the {title} and {host} parameters
A message with an embed, using the {title} and {host} parameters

Formatting

Texts and embed descriptions take Discord formatting: **bold**, *italic*, __underline__, ~~strike~~, `code`, links and line breaks. Emoji work too, typed or pasted.