Troubleshooting¶
Config file not found¶
Cause: arcane.config.js is missing from project root.
Fix:
- Ensure you are in bot project root.
- Create
arcane.config.js. - Re-run
arcane validate.
Validation errors found¶
Cause: command/event/package JSON does not match schema.
Fix:
- Run
arcane validate. - Fix first listed error path.
- Re-run until no errors remain.
Bot is online but commands do not show¶
Cause (common):
- missing
applications.commandsinvite scope - global command propagation delay
- command
typenot slash-capable
Fix:
- Reinvite bot with
bot+applications.commandsscopes. - Use
settings.devGuildfor instant guild registration while testing. - Ensure command
typeisslashorboth. - Restart
arcane devand check registration logs.
Text command not responding¶
Cause:
- prefix mismatch
- command type is not
text/both
Fix:
- Check
bot.prefixin config. - Ensure command
typeistextorboth. - Verify
MessageContentintent is enabled.
Package not loaded¶
Cause: package config missing, disabled, or unresolved.
Fix:
- Verify file exists under
packages/. - Ensure
enabledistrue. - Confirm
packagename is correct.
Hot reload not triggering¶
Cause: dev mode not active or edits outside watched directories.
Fix:
- Run
arcane dev. - Confirm edited file is in configured
directories. - Check terminal logs for watcher events.
MkDocs strict build fails¶
Cause: nav mismatch or missing referenced file.
Fix:
- Run
mkdocs build --strictlocally. - Correct bad
navpath inmkdocs.yml. - Ensure all referenced markdown/images exist.