Simulator walkthrough
A passing reply is not enough. Check what did not happen.
A moderation command must refuse an ordinary member without deleting messages. Use the Moderation commands template to test both outcomes and learn the difference between validation, simulation and a live Discord check.

Open the bottom bar
In the Workflow tab, choose Simulator at the bottom of the editor. The template includes a reference world and behavior checks. Keep those as a baseline while adding cases for your server. Validation is a separate panel in the same bar.
Give the test world meaningful permissions
Use a server, a channel with disposable messages, a moderator with Manage Messages and an ordinary member without it. The bot needs its own channel access and deletion permission. A world where everyone is an administrator cannot prove that your denied branch works.
Run these cases
| Case | Action | Expected behavior |
|---|---|---|
| Allowed member | Moderator uses /clear amount: 1 | Purge messages succeeds. |
| Denied member | Ordinary member uses /clear amount: 100 | A denial reply is sent; Purge messages does not occur. |
| Missing bot permission | Remove the bot’s Manage Messages permission and retry as moderator | The purge action fails. The member’s authority cannot give the bot missing access. |
| Unrelated command | Use a different command | No purge action occurs. |
The template supplies the allowed, denied and unrelated-command reference cases. Add the missing-bot-permission case when adapting the workflow. Check the action results, not just whether a message was sent.
Read the failure before changing the graph
| Observed result | Investigate |
|---|---|
| Denied member reaches Purge messages | The permission result, Condition input and true/false flow connections. |
| Moderator is allowed but deletion fails | The bot’s permissions and the chosen channel in the test world. |
| A reply appears but no messages change | Whether the purge action ran, the test messages’ age and the target channel. |
| Simulation passes but live Discord fails | Differences in channel overrides, role order, bot configuration and deployed workflow. |
Three checks answer different questions
| Check | Question answered |
|---|---|
| Validation | Are the graph’s settings and connections acceptable? |
| Simulation | Does it behave as expected in these specified cases and this test world? |
| Live test | Does the deployed bot have the real Discord access and configuration it needs? |
Passing a test does not establish behavior that the case never exercises. After editing permissions, buttons or branches, rerun the affected cases and perform a small live test before relying on the bot in a busy channel.