jellynDocs

Jellyn Lab

Every action and condition a Jellyn Lab system can use.

Actions do something. Conditions have a True and a False output, and send the run down one of them. Member blocks act on whoever the run is for, or on a member option of the command.

Actions

Messages

BlockDoes
Send a messagePosts a message in a channel: a card, embeds or a layout, built in the Message Builder
ReplyAnswers the person privately
Send a DMMessages a member directly
Open a formAsks up to five questions first; it must come straight after a command, a button or /lab run
Send buttons or a menuEach choice runs its own blocks when someone picks it
Send an image cardA picture with their name and avatar, designed in Card Studio

Message actions

BlockDoes
React to a messageAdds an emoji to a message, or takes Jellyn's off
Pin or unpin a messagePins a message to its channel, or unpins it
Delete a messageDeletes a message a block sent, or one by its ID
Make a forum postStarts a post in a forum, with its tags
Change a post's tagsAdds, takes off or sets a forum post's tags

Members

BlockDoes
Give a role / Take a role awayAdds or removes a role, for a while if you like
Change a nicknameSets a member's nickname
Time out a memberMutes a member for a while. Needs Timeout Members
Kick a memberRemoves them; they can join again with an invite
Ban a memberRemoves them and stops them joining again, optionally deleting their recent messages
Mute, Deafen or Move in voiceServer mute or deafen a member in voice (or lift it), or move or disconnect them

Channels

BlockDoes
Purge messagesDeletes a batch of recent messages in a channel, {purged.count}
Create an inviteMakes an invite link, {invite.url}
Create a channelA new text or voice channel, {created.channel}
Delete a channelDeletes a channel. It can't be undone
Create a threadStarts a thread in a channel, {thread}
Join / Leave a voice channelJellyn sits in a voice channel, muted, or leaves it

Jellyn and ER:LC

BlockDoes
Log a punishmentAdds an ER:LC punishment to your log, as the staff member who used it, with your server's rules
Run an in-game commandSends any : command in your server, like :h, :pm, :kick or :weather
Add a staff resourceSaves a document for your staff

Data and timing

BlockDoes
Set a variableChanges a value Lab remembers
WaitPauses before the next block
For eachRepeats blocks for every player in game, player on a team, staff member on shift, or value of a collection
Send an error logStops here as failed, with your own words in the run history

Run an in-game command never sends a rank change (:admin, :mod, :helper and their :un forms) or a command on everyone at once, like :ban all. That is checked when you save, and again once values are filled in, so a player typing all as a name can't make a :kick all.

Conditions

BlockGoes down True when
If / ElseA value compares as you set: equal to, less or greater than, contains, starts or ends with, a collection contains, and their opposites
ChanceBy chance, 1 to 99% of the time, like a coin flip
Has a roleThe member has a role
In a channelIt was used in one of 1 to 10 channels
Staff levelThey are at least staff, management or admin in Jellyn

Every block

  • Error paths: turn on an action's Success and error paths for an Error output. When the block fails, the run goes on there, with {error} and {error.block}.
  • Ignore errors: the run goes on as if the block worked (handy for a DM to someone who doesn't take DMs).
  • Notes: a line of helper text next to a block on the canvas.