BuildcordDocs

Do in order

Follow several paths, one after another, then carry on.

flow.sequence gives a flow several branches that all run: the first path to its end, then the second, and so on, then When all are done. It can't fail.

Settings

SettingWhat it does
PathsHow many, up to 10. The default is 2.

Ways out

  • First, Then (2) and so on: one per path.
  • When all are done, after the last.

Notes

  • The paths run one after another, not at the same time, so each sees what the ones before it set.
  • A path that ends inside a loop finishes the loop first.
  • Each path can have its own branches; whichever way it goes, the next path starts when it ends.

Example

On Member joins: path one welcomes them in a channel; path two gives them a role; path three DMs them the rules, with If it fails so a closed DM doesn't stop the others.

On this page