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>
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| constants.py | ||
| discord_utils.py | ||
| main.py | ||
| random_content.py | ||
| scouting.py | ||
| search_utils.py | ||
| utils.py | ||