Refactor documentation and add new features

- Updated index.md to simplify structure and focus on task-oriented guides.
- Revised notifications.md to streamline setup instructions and improve clarity.
- Added report-error.js for structured error reporting to Discord.
- Introduced account-creation.md and configuration.md for detailed guidance on account setup and bot configuration.
- Created dashboard.md, docker.md, error-reporting.md, modes.md, running.md, scheduling.md, setup.md, troubleshooting.md, and update.md for comprehensive documentation on respective features and usage.
- Updated package-lock.json and package.json to include peer dependencies.
This commit is contained in:
2025-12-06 13:13:20 +01:00
parent a149c54013
commit 64352fa306
22 changed files with 377 additions and 3942 deletions

22
docs/setup.md Normal file
View File

@@ -0,0 +1,22 @@
# Setup
Get the bot ready before running it.
## What it does
Creates a safe baseline so your accounts and config are ready.
## How to use
1. Install Node.js 20 or newer.
2. Copy `src/accounts.example.jsonc` to `src/accounts.jsonc` and fill in your accounts.
3. Review `src/config.jsonc`; defaults work for most people.
4. (Optional) set `DISCORD_WEBHOOK_URL` in your environment for alerts.
## Example
```jsonc
[
{
"email": "you@example.com",
"password": "your-password"
}
]
```