Code editor and slash commands
Editing the generated project file by file, the command builder, and exporting your code.
The file tree
Open a bot's Code editor to browse the project: index.js, package.json, .env and anything else you or the block builder generated. Select a file to load it into the editor.
Editing
- Changes autosave back to the bot on blur, so there is nothing to remember to press.
- Search and replace works across the open file — useful for renaming an event or a constant everywhere at once.
- The editor uses the same syntax-highlighted surface as the rest of the app.
Slash command builder
Instead of hand-writing registration code, use the command builder to add a command: name, description and options are written into the project for you.
Relationship with the canvas
Saving a flow in Block Builder regenerates the file the flow targets. If you hand-edit that same file afterwards, your edits win until the next block save. Edit different files, or keep hand-written logic in a separate module, to avoid surprises.
Export
Download ZIP gives you the full project. It is available on paid plans; on Free you can still run and edit, just not export.
The
.envfile holds your token. Treat exported archives as secrets.