ZymiLog in
Pages
Custom commands

The editor

The editor shows a command as a picture: a column of cards, read from top to bottom, the way Zymi runs it. You build the command right in that picture.

The picture

Every command starts with three cards:

  • /command: its name, description and parameters.
  • Who can run it: the roles that may use it, or Everyone.
  • Checks before role changes: the safety checks for blocks that give or take roles.

Under them come the command's blocks, done in order. An If or By choice block has its branches inside it, each marked by a coloured line: green for Yes, red for No or Other, orange for each choice.

The picture of /verify: an If block with its Yes and No branches
The picture of /verify: an If block with its Yes and No branches

Setting up a card

Click a card to set it up. On a wide screen its settings open in the panel beside the picture; on a phone they open under the card. The panel changes as you type, and the card shows the result.

A card that still needs something says so in yellow, for example Write the message or Choose roles.

Adding, moving and deleting blocks

  • Add block at the end of a column, or of a branch, opens Add a block. Its title says where the block goes, like under Yes. Pick one of the eight blocks.
  • The arrows on a block move it up or down within its column.
  • The bin deletes it, with everything in its branches.
Add a block: the eight blocks, here added under Yes
Add a block: the eight blocks, here added under Yes

If and By choice can't be added deeper than three levels. When a command has 40 blocks, Add block is gone.

Creating a command

  1. On the Custom commands page, click New command.
  2. In the /command card, fill in the Name, and optionally a Group:
    • The name is what members type. Lowercase letters, digits, - and _; what you type is converted.
    • A group puts the command under another one: group staff and name warn make /staff warn.
    • Neither can be changed later. A name that one of Zymi's commands or another of yours already uses is refused.
  3. Write the Description, shown under the name in Discord. Up to 100 characters.
  4. Add parameters if members should fill something in.
  5. Set Who can run it and the Checks.
  6. Add the blocks.
  7. Click Create command.
The /command card: name, group, description and parameters
The /command card: name, group, description and parameters

Saving registers the command on your server in Discord. It shows up there within a minute. When you change a command later, the button is Save command.

If Zymi can't do something the command asks for yet, for example give a role above its own, the list page says so after saving.

Groups

Discord allows a server 100 commands of its own. A group counts as one of them and holds 25 more, so groups are how you get more than 100. They also keep related commands together: /staff warn, /staff note, /staff move.

Download as PNG

Download as PNG saves the picture as an image, to share with your team or keep as a record.

Who can change a command

Anyone with the Custom commands permission, for commands whose roles are all below their own highest role. Nobody can put a role at or above their own highest role in a command. A command that gives or takes such a role shows a lock on the list: you can't change, turn off or delete it. The server's owner can change any command.