📄️ Creating a Discord Bot
In order to start creating your bot's code in DisFuse, you must first create your Discord bot's account. Lets go over the basic steps to create your Discord bot!
📄️ Creating a DisFuse Project
Once your Discord bot exists, a DisFuse project is where you build what it does. One project is one bot.
📄️ Coding Your Bot
Your project exists and your bot is set up. Now for the part that makes it do something.
📄️ The Editor
A tour of the workspace: what every part of it does and where to find things.
📄️ Workspaces
A project can hold as many workspaces as you like. Each one is a tab with its own canvas, and all of them run as one bot.
📄️ Secrets
A secret is a value your bot uses but nobody should see: an API key, a webhook URL, a database password. Secrets are stored with your project, hidden from everyone but you, and written into a .env file when you export.
📄️ Templates
A template is a ready-made set of blocks. Adding one drops a working example into your project, which is the fastest way to see how a feature fits together.
📄️ Collaboration
More than one person can work on a project at once. Everyone sees everyone else's changes as they happen, in the same way a shared document works.
📄️ Version Control
A version is a snapshot of your whole project: every workspace, exactly as it was. You can switch between versions, work on one without touching the others, and come back to a version that worked when a change goes wrong.
📄️ Project Settings
Everything about a project that is not blocks: the bot token, the description, who can see it, and the permissions in its invite link.
📄️ Running Your Bot
DisFuse writes your bot's code. Something has to run it, and that something is a host: a computer that stays on, all the time, with your bot's files on it.
📄️ Components V2
What is Components V2?
📄️ Message & Modal Previews
You do not have to run your bot to see what a message or a modal will look like. Right-click the blocks that build one and DisFuse draws it the way Discord will, right next to your blocks.