Projects
Bu içerik henüz dilinizde mevcut değil.
A Makecord project is a plain folder. Nothing lives in a database, so you can version it with git, review changes and copy it anywhere.
my-bot/├── makecord.json # name, intents, plugins, secret names, cache limits├── commands/│ ├── ping.flow.json # one file per slash command│ └── greet.flow.json├── events/│ └── ready.flow.json # one file per event flow├── package.json # "start": "makecord start ."├── Dockerfile├── docker-compose.yml├── .env.example # DISCORD_TOKEN= (no value)├── .gitignore└── .makecord/ # IDE state: open tabs, layout (gitignored)Flow files can live in any folder. The runtime loads every *.flow.json in the project except inside node_modules and hidden folders. commands/ and events/ are only a convention.
makecord.json
Section titled “makecord.json”The project’s settings. Every field is listed in the project config reference. The ones you’ll touch most:
intentsdecides which events Discord sends the bot. Some events need an intent, and the Problems panel tells you which one is missing.devGuildIdregisters commands to one server while you develop.pluginslists extra block packages to load.secretsnames the secrets the bot expects. Values never go in this file.
Changes to makecord.json take effect the next time you press Run.
When a file is broken
Section titled “When a file is broken”A flow file with invalid JSON or an unknown shape doesn’t take the bot down. The runtime skips that file, reports it in the Run panel and the Problems panel, and runs everything else.