Docs / Plugin Builder / Edit with AI
AI builder

Edit with AI

Once a plugin exists, Edit with AI on its overview page revises it. Describe what to change or add, pick a model and a budget, watch the model rewrite the plugin's latest version live and then review a diff before anything is saved.

  • Quick fix asks the model for small, targeted edits instead of a rewrite, so the cost follows the size of the change. If a quick fix cannot apply cleanly it stops safely and suggests a full revision.
  • Full revision rewrites the whole file, for bigger changes.

The review shows the changes to __main__.py, any dashboard changes and the validator's verdict. Save as new version stores the result as a new draft version: the AI editor never changes an existing version, and nothing is published until you submit the new one for review. If you leave without saving, the revised draft is kept until you save it or start another revision, so you do not pay for it twice.

Fix a version's findings

When a version on the Versions tab has validator findings, its Fix with AI button opens the AI editor with a prompt that lists every finding, ready to run.

The dashboard copilot

The visual dashboard editor (the plugin's Settings, then Dashboard) has an AI copilot. Describe a change, for example a moderation tab with a banned-members table, and press Propose. The proposal appears as a diff and nothing is applied until you accept it. Each proposal is billed like a plan, about a cent.

YourBot docs Reference tables are generated from the code that is running. Ask in Discord Suggest a correction