Commit Graph

16 Commits

Author SHA1 Message Date
cal
a8b8f59bff Update VERSION
All checks were successful
Build Docker Image / build (pull_request) Successful in 1m11s
2026-02-04 15:35:58 +00:00
cal
7038924e56 Update VERSION
Some checks failed
Build Docker Image / build (pull_request) Failing after 15s
2026-02-04 15:34:14 +00:00
cal
735d51ab2e Update VERSION
All checks were successful
Build Docker Image / build (pull_request) Successful in 1m5s
2026-02-04 07:09:05 +00:00
cal
ab0f42d615 Update VERSION
Some checks failed
Build Docker Image / build (pull_request) Failing after 1m9s
2026-02-04 06:47:22 +00:00
cal
8bd30211e0 Update VERSION
Some checks failed
/ build (pull_request) Has been cancelled
2026-02-04 06:22:40 +00:00
Cal Corum
38a411fd3e Bump version to 1.7.13 2026-01-31 15:53:07 -06:00
Cal Corum
0e70e94644 Bump version to 1.7.12 2026-01-30 14:10:42 -06:00
Cal Corum
08fd7bec75 Fix numpy CPU compatibility issue (X86_V2)
Add numpy<2 constraint to requirements.txt to fix RuntimeError on
sba-bots where CPU doesn't support X86_V2 instructions required by
numpy 2.x. This was causing cogs.admins and cogs.gameplay to fail
loading on bot startup.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 14:04:18 -06:00
Cal Corum
5aa88e4e3d Fix Athletics Team Choice pack KeyError
Add 'Athletics' alias to ALL_MLB_TEAMS, IMAGES['mvp'], and AL_TEAM_IDS
to support both old franchise name ("Oakland Athletics") and new mlbclub
name ("Athletics") after the team's relocation.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 16:20:05 -06:00
Cal Corum
c3054971eb Fix /player stats bug - sync helpers/constants.py with root
PD_SEASON was set to 9 in helpers/constants.py while games are
recorded in season 10. This caused /player command to return
no stats for cardset 27 cards since they only have season 10 data.

Changes:
- PD_SEASON: 9 → 10
- SBA_SEASON: 11 → 12
- ranked_cardsets: updated to current cardsets
- Added gauntlet-8 and gauntlet-9 configs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-07 21:48:30 -06:00
Cal Corum
f95afd8d5d Fix unawaited coroutine in singles() command (SPD hit result)
- Added missing await keyword on line 2981 in logic_gameplay.py
- SPD hit result was calling singles() without await, causing RuntimeWarning
- All groundball tests passing (24/24)
- Bump version to 1.7.7

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 22:37:51 -06:00
Cal Corum
7bb191dbf4 Add app_legal_channel to helpers package (fixes import error)
Bug: Version 1.7.5 added app_legal_channel to helpers.py but production uses
the helpers/ package which imports from helpers/main.py. This caused:
- NameError: name 'app_legal_channel' is not defined
- ImportError: cannot import name 'app_legal_channel' from 'helpers'

Result: cogs.economy and cogs.players failed to load, causing all slash
commands (including /team, /selldupes, /comeonmanineedthis) to be unavailable.

Fix: Add app_legal_channel() function to helpers/main.py so it's exported
via the helpers package __init__.py.

Bumps version to 1.7.6

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 09:23:27 -06:00
Cal Corum
584a8a95ab Fix slash command decorators using wrong prefix command checks
Bug: Several slash commands (@app_commands.command) were using prefix command
decorators (@commands.has_any_role, @commands.check) which don't work with
app_commands. This caused errors caught by the global error handler, resulting
in "Unknown interaction" (404) errors being displayed before the command executed.

Affected commands:
- /comeonmanineedthis: Both role and channel checks were wrong
- /selldupes: Channel check was wrong
- /team: Channel check was wrong

Fix:
- Created app_legal_channel() decorator in helpers.py for slash commands
- Changed @commands.has_any_role to @app_commands.checks.has_any_role
- Changed @commands.check(legal_channel) to @app_legal_channel()

Bumps version to 1.7.5

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 07:29:08 -06:00
Cal Corum
563820fe93 Remove debug print from is_game_over() causing stdout spam
Bug: The is_game_over() function contained a debug print statement that was
printing "1: " to stdout on every call. This was causing massive log spam
in Docker container output (thousands of lines) and making it difficult to
diagnose actual issues.

Fix: Remove the print(f'1: ') statement from line 3251.

Bumps version to 1.7.4

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 07:11:10 -06:00
Cal Corum
ae52e9aad7 Bump version to 1.7.3
Bugfix release includes:
- Fix null card_id in RosterLink causing IntegrityError

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-15 09:25:58 -06:00
Cal Corum
0d8942bf96 Add VERSION file for docker build tracking
Initial version: 1.7.2

This file tracks the current version for Docker builds. When building
and pushing new versions, this file will be updated and the commit
will be tagged with the version number.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-15 09:24:16 -06:00