Every flow starts with a trigger

A member types /apply, someone new joins, a message collects its fifth star, or the clock reaches 09:00. Each of these is a trigger, and you choose the flow it starts.

Example from Lantern Lounge: nobu joins the server. The Member joined trigger starts the Welcome flow, and Lantern greets nobu in #general.

Illustration. The real interface may look different.

Six triggers most features begin with

  • Slash commands

    A member types /apply, /rank or /poll. You define the options they fill in, including fixed choices and autocomplete.

    StartsApplications

    Illustration. The real interface may look different.

  • Members

    Someone joins, leaves or boosts the server.

    StartsWelcome

    Illustration. The real interface may look different.

  • Schedules

    Every morning at 09:00, Fridays at 18:00, the first of the month. Schedules follow your bot's timezone.

    StartsDaily question

    Illustration. The real interface may look different.

  • Buttons and menus

    A click on a button or a pick from a menu under one of your bot's messages. Both still work after the bot restarts.

    StartsRole picker

    Illustration. The real interface may look different.

  • Forms

    Your bot opens a form in Discord. The flow starts once the member sends it and gets every answer.

    StartsApplication review

    Illustration. The real interface may look different.

  • Messages and reactions

    A new message, an edit, or a reaction that was added or removed.

    StartsStarboard

    Illustration. The real interface may look different.

The full list also covers threads, voice channels, roles, polls, invites, AutoMod and scheduled events.

scnx.app/guild/.../custom-commands
The trigger picker in the flow editor, grouped into commands, buttons and forms, members, messages and schedules.
The trigger picker in the flow editor.

Screenshot from our test server. Your dashboard may look different.

Some triggers need a setting in Discord

Discord treats message text, the member list and presence as privileged data. Before a trigger can use them, you turn the matching intent on for your bot in Discord's developer portal. The editor marks every trigger that needs one and tells you when the bot has to restart.

Custom commands in the docs

Your bot's page in Discord's developer portal.
The same trigger in the SCNX editor.

Illustration. The real interface may look different.

Questions about triggers

A flow has exactly one trigger. A feature usually consists of several flows, for example one for the command and one for the button under its reply.

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.