Visual Discord bot builder
Build the behavior. See how it works.
BotFrame combines an editable workflow graph, a Discord simulator and hosting for your own bot. Start with a working template, build manually, or use an AI agent to edit the same workflow.

A clear command with a real permission boundary
Example interaction
- Member action
/clear amount: 5- Bot behavior
- A moderator can remove recent messages. An ordinary member receives a denial and no messages are removed.
- /clear
- Member has Manage Messages?
- Yes: purge → reply
- No: denial reply
The command option supplies the number of messages. A permission check supplies a true/false result. The Condition node chooses which action can run. Those are separate connections you can inspect and change.
What you work with
Select a node to edit its settings in the inspector. Control connections choose which step runs next; value connections carry information such as a member, channel, message ID or command option.
| Part | Example in the clear command |
|---|---|
| Trigger | Slash command starts when /clear is used. |
| Decision | Check the member’s permission before allowing deletion. |
| Action | Purge messages uses the requested amount. |
| Reply | Tell the member whether the action was allowed. |
For reusable sections, group behavior into custom nodes and open a group when you need its detail.
Check more than the happy path
Open Simulator in the bottom bar of the Workflow tab. Test a moderator and an ordinary member separately. Then remove the bot’s permission in the test world and check that the failure is visible. Follow the complete example.
Validation checks the graph’s setup. Simulation checks behavior in the world and cases you provide. Neither replaces checking the live bot’s permissions and role order in Discord.
Choose how you want to work
Make /hello reply, then pass a command option into the message.
AI-assisted editingAsk for the behavior, inspect the resultUse BotFrame AI or connect an external agent such as Codex or Claude Code.
Quick startUse a complete templateSix concrete workflows with their setup and limitations explained.
HostingKeep your own bot onlineUnderstand connection, deployment, invitation and plan limits.