paper-dynasty-discord/helpers
Cal Corum c1a81b7bb9 fix: guard GUILD_ID env var cast against missing/invalid value (#26)
Check for None/empty before calling int() on os.environ.get('GUILD_ID')
in all three call sites. Prevents TypeError crashing the live scoreboard
task loop and send_to_channel() when GUILD_ID is unset.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-07 01:33:09 -06:00
..
__init__.py feat: Add Scouting feature (Wonder Pick-style social pack opening) 2026-03-05 03:04:53 +00:00
constants.py Normalize Player.franchise queries to use Team.sname 2026-01-07 12:01:00 -06:00
discord_utils.py fix: guard GUILD_ID env var cast against missing/invalid value (#26) 2026-03-07 01:33:09 -06:00
main.py feat: limit scouting to Standard/Premium packs, simplify scout view 2026-03-06 21:12:46 -06:00
random_content.py Cogs to Packages Groundwork 2025-08-17 08:46:55 -05:00
scouting.py feat: limit scouting to Standard/Premium packs, simplify scout view 2026-03-06 21:12:46 -06:00
search_utils.py Cogs to Packages Groundwork 2025-08-17 08:46:55 -05:00
utils.py fix: update owner_only to use Cal's correct Discord ID 2026-03-05 15:57:25 -06:00