Add /admin-process-transactions command that allows admins to manually process all transactions for the current week (or a specified week). This serves as a fallback mechanism if the Monday morning automated task fails to run transactions. Features: - Processes all non-frozen, non-cancelled transactions for a week - Optional week parameter (defaults to current week) - Real-time progress updates every 5 transactions - Detailed success/failure reporting with error details - Uses same API logic as the automated Monday task - Includes rate limiting (100ms delay between transactions) - Comprehensive logging for audit trail The command is restricted to league administrators via @league_admin_only decorator and uses @logged_command for standardized logging. Updated /admin-help to include the new command in the League Management section. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| league_management.py | ||
| management.py | ||
| users.py | ||