Skip to main content
A script is a design written as text. It starts with the kind of message, then blocks in curly brackets, separated by $v. You’ll rarely write one from scratch: build in Dashboard → Content → Designs and press Export to see it. This page is for when you want to tweak one by hand.
Line breaks inside a block are kept exactly as you type them, and Markdown works in text.

Embed blocks

Container blocks

Button options

Buttons are written as {button:label: Rules && url: https://curebot.site && emoji: 📘}. Options are name: value, joined with &&:

Form fields

A form ({modal}) asks questions in a pop-up. Each field is {input:id|Label|style|required|placeholder}: Save a form with /automation form save, then open it from a button with modal: name.

Escaping

Showing different things to different people

Wrap blocks in {if:…}, {else-if:…}, {else} and {/if}:
Comparisons: =, !=, >, <, >=, <=, contains, not contains, starts with, ends with. A variable alone is true unless it’s empty, 0, false, no or off.

Deleting itself

Add --delete 30s at the end of any message or script, and it deletes itself after that long (from 1s up to 365d; m, h and d work too).

Variables

/customize variables list shows every variable in Discord. The full list:

Server variables

User variables

Channel variables

Date and time variables

Moderation variables

Event, bot, and command variables