major-domo-v2/commands/admin
Cal Corum 8878ce85f7
All checks were successful
Build Docker Image / build (pull_request) Successful in 1m16s
perf: use channel.purge() instead of per-message delete loops (#93)
Closes #93

Replace sequential message.delete() loops with channel.purge() bulk
delete in three locations:
- commands/admin/management.py: admin_clear_scorecards (up to 100 msgs)
- tasks/live_scorebug_tracker.py: _post_scorebugs_to_channel (25 msgs)
- tasks/live_scorebug_tracker.py: _clear_live_scores_channel (25 msgs)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 12:02:26 -05: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 perf: use channel.purge() instead of per-message delete loops (#93) 2026-03-20 12:02:26 -05:00
users.py fix: remove 226 unused imports across the codebase (closes #33) 2026-02-20 11:35:04 -06:00