BotFrame
Skip to content

AI-assisted workflows

Ask for a bot. Review the actual workflow.

Use BotFrame’s built-in AI, or connect Codex or Claude Code through the BotFrame plugin. Both routes work on the visual graph you can inspect, edit and test yourself.

Moderation template with permission checks in the BotFrame workflow editor

Two ways to use AI

Choose your AI route
RouteWhat you useWhat is included
Built-in AIAI assist in the Workflow tabPlus and Pro include a monthly BotFrame AI allowance. Check the account’s remaining allowance before generating.
Connected agentBotFrame’s Codex or Claude Code pluginUnlimited free MCP connections on every BotFrame plan. Your agent provider’s access, usage limits and charges are separate.

An agent connection does not remove the hosting limits of your BotFrame plan. See current plan allowances.

A prompt with a testable outcome

Build a /clear command with a required integer amount from 1 to 100.
Check whether the member has Manage Messages before deleting anything.
If allowed, remove eligible recent messages and confirm.
If denied, reply with the permission requirement and delete nothing.
Add simulator cases for both members and a missing bot permission.
Save the workflow and tests, but do not deploy yet.

This is an example request, not a guarantee about a model’s first answer. You can compare its result with the existing moderation template.

What to inspect before accepting the result

  • The permission check examines the command’s member, not just the bot.
  • Only the allowed branch reaches Purge messages.
  • The amount option is connected to the deletion count.
  • The denied branch sends a useful interaction reply.
  • The tests check that deletion does not occur for an ordinary member—not merely that some reply appears.
  1. Request behavior
  2. Inspect the graph
  3. Validate and simulate
  4. Approve deployment

Fix the failing case without replacing the goal

If an ordinary member can delete messages, ask the agent to repair the permission branch and rerun the same cases. If a test fails because the bot lacks Discord permission, decide whether the workflow needs that access; do not simply remove the test.

Keep requests specific: “Preserve the command and both replies; fix only the branch that reaches deletion.” Inspect the edited graph before publishing.

Use the simulator walkthrough to understand what a passing test does and does not establish.

Install, authorize, then verify

A plugin being installed is not proof that it can access your account. Complete BotFrame sign-in, authorize the intended projects and ask the agent to list them before asking it to edit. Never paste your Discord bot token into an AI chat.

Follow the plugin setup and troubleshooting guide