ZymiLog in
Pages
Documentation

Custom commands

Custom commands are your server's own slash commands. Staff build them on the dashboard, and members use them in Discord like any other command. A command can answer, post in a channel, write to a member privately, give or take roles, and decide what to do from what was filled in or which roles someone has. No code is needed: you build each command as a picture of what it does.

You need the Custom commands permission in Access.

The editor: the picture of the command on the left, the settings of what is picked on the right
The editor: the picture of the command on the left, the settings of what is picked on the right

Pages in this section

The list of commands

The Custom commands page lists your commands, those without a group first, then each group. Each one shows:

  • whether it is On or Off, and how many times it was used;
  • Who can use it, its Parameters, and what it Does, block by block.

Under each command:

  • Edit opens it in the editor.
  • Copy starts a new command as a copy of this one.
  • Turn off removes it from Discord until you Turn on again. Nothing of it is lost.
  • Delete removes it from your server in Discord. What it already did, like roles given and messages sent, stays.

The counter at the top shows how many commands the server has of how many it may. A Premium key can raise that number.

How a command runs

When a member runs a command, Zymi works in two steps:

  1. It plans. Zymi walks through the blocks with what was filled in, decides every condition and collects what to do. A role given earlier in the command counts for an If later on.
  2. It checks, then acts. Every role change of the plan is checked against the command's safety checks. Only if all of them pass does Zymi do anything, in order.

So a command that is refused changes nothing at all: no role is half given, no message half sent. The member sees why it was refused, only to them.

If a step fails while acting, for example a member who doesn't accept direct messages, Zymi does the rest and tells the member what didn't work.

Limits

WhatLimit
Commands per serverDiscord allows 100, plus 25 in each group. Your server's own limit is on the list page.
Parameters per command10
Choices in a list parameter25
Blocks per command40, branches included
Blocks inside blocks3 levels of If and By choice
Texts in a random reply20
Roles in one block10
Text of a message2,000 characters