major-domo-v2/commands/admin
Cal Corum e3610e84ea fix: implement actual maintenance mode flag in /admin-maintenance (#28)
- Add `maintenance_mode: bool = False` flag to `SBABot.__init__`
- Register a global `@tree.interaction_check` that blocks non-admin users
  from all commands when maintenance mode is active
- Update `admin_maintenance` command to set `self.bot.maintenance_mode`
  and log the state change, replacing the no-op placeholder comment

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 22:08:02 +00:00
..
__init__.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
league_management.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00
management.py fix: implement actual maintenance mode flag in /admin-maintenance (#28) 2026-03-03 22:08:02 +00:00
users.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00