jellynDocs

Jellyn Lab

What can start a Jellyn Lab system, and the values each trigger gives its blocks.

Every system starts from one trigger. The trigger decides who the run is for ({user}) and which values the blocks after it can use.

People in Discord

TriggerStarts whenGives
A slash commandSomeone uses your server's own command, with its options{user}, {user.access}, {channel}, the options as {option.name}
A button in DiscordSomeone presses the button Jellyn posted (Post button){user}, {user.access}, {channel}
Picked in /lab runSomeone picks the system by name in /lab run{user}, {user.access}, {channel}
Run from the websiteSomeone presses Run now in Jellyn Lab{user}, {server}

Who can use it: a command, a button or /lab run can be for everyone, staff or management.

Command options

A command takes up to 10 options: text, number, true / false, member, channel or role. Required options come first, as Discord needs. Use them as {option.reason}; a member, channel or role also gives {option.member.id} and {option.member.name}. An optional option left empty is an empty value.

A command name is 1 to 32 lowercase letters, digits, - or _. Jellyn's own command names are taken, and a server can't have two systems with the same command.

Your team

TriggerStarts whenGives
A shift startsA staff member starts a shift{user} (the staff member)
A shift endsA staff member ends a shift{user}, {shift.minutes}
A punishment is loggedSomeone logs a punishment{user} (who logged it), {player}, {case.number}, {case.action}, {case.reason}
A punishment log is voidedSomeone voids one{user} (who voided it), and the case's values
A staff infraction is issuedManagement issues one{user} (who it is for), {moderator}, {infraction.number}, {infraction.type}, {infraction.reason}
A staff infraction is revokedManagement revokes onethe same as issued

These start from the moment a system is turned on: what happened while it was off is not replayed.

Your ER:LC server

TriggerStarts whenGives
A player joins the ER:LC serverSomeone joins your private server{player}, {player.id}, and {user} if they verified
A player leaves the ER:LC serverSomeone leavesthe same
Someone runs an in-game commandA player types the command you choose, with : or ;{player}, {command}, {user}, {user.access}, and its arguments as {arg.name}

In game, {user} is the Discord account the player verified on Jellyn, and empty when they haven't. In-game commands have more to them: see In-game commands.

On a schedule

TriggerStartsGives
On a scheduleEvery 10 to 1440 minutes{server}

Every run

Whatever starts it, every run also has {server}, {server.id}, {server.members}, {server.owner}, {time.now}, {time.date}, {time.unix} and {random}. A run that is for someone also has {user.avatar}, {user.tag}, {user.created} and {user.joined}. See Values.