What your bot does, step by step
A flow is the list of steps your bot runs once its trigger fires: send a message, give a role, check a condition, save a score. You arrange the steps in the editor, as a list or as a diagram.

Screenshot from our test server. Your dashboard may look different.
One run of the Daily question flow
At 09:00 the schedule fires and Lantern works through five steps. Each step can use what the ones before it produced: the question picked in step two is the one posted in step three.
What happens
- 1.09:00: the schedule fires
- 2.Read the list of questions
- 3.Pick the next question
- 4.Post it in #general
- 5.Open a thread for answers
- 6.Count it as asked
In #general a moment later:
Illustration. The real interface may look different.
Daily question
ActiveSaveTrigger
ChangeSchedule, every day at 09:00
Get storage value
Read the question catalogue from{questions}
Pick the next entry
The one after yesterday's
Send message
Input parameters
Channel:#general
Message:Question of the day
Create thread
Open a thread on that message
Increase storage value
Count the question as asked in{asked}
Illustration. The real interface may look different.
Conditions, loops and pauses
A flow can check who clicked, go through every entry of a list, or stop until a moderator has decided.
If and otherwise
The flow checks something and takes one of two paths. Here tobi uses /staff, and only Crew members get the form.
For each entry
The same steps run once per entry of a list.
Wait for a click
The flow pauses until someone presses a button. It picks up from there even if the bot restarted in the meantime.
Call another flow
Welcome, applications and the role menu all hand out the starter roles, so that part is one flow the others call.
Illustration. The real interface may look different.
Questions about flows
Several hundred for Discord itself: messages, roles, members, threads, buttons, forms and stored data. On top of that come tools for text, numbers, dates and lists.
Switch it on for your server
The beta is open to every server with an SCNX bot. The owner or a co-owner switches it on, and the bot restarts once.
Your V2 custom commands keep running next to it.