-
Notifications
You must be signed in to change notification settings - Fork 0
maintenance mode
buildsbypat edited this page May 24, 2026
·
1 revision
Maintenance mode is stored in PostgreSQL bot_state using:
maintenance_modemaintenance_reason
It is controlled from backend shell commands, not from broad Discord admin commands.
- Incoming sends are still saved to PostgreSQL.
- Webhook sends are inserted as
queued_maintenance. - The bot does not post queued sends to Discord.
- Public leaderboards continue to reflect posted sends only.
- Legacy imported sends that were seeded as
postedstay out of the queue.
When maintenance mode is disabled, the bot queue worker:
- Releases
queued_maintenancesends back topending. - Processes them oldest-first.
- Marks successful posts as
posted. - Marks failures as
failed. - Refreshes public leaderboards.
scripts/robctl maintenance status
scripts/robctl maintenance on "reason"
scripts/robctl maintenance off
scripts/robctl queue status
scripts/robctl queue flush