Block a user
Replace
create_item_in_table placeholder with proper table-specific endpoint logic
Fix ignored
order_by() call in stratgame.py
Implement dynamic roster type detection in
/trade add-player
Fix swallowed error in
recalculate_standings — HTTPException constructed but not raised
Implement actual maintenance mode flag in
/admin-maintenance
Replace
print() debug statements with logger calls in db_engine.py
Change
testing config default to False
Replace
print(req.scope) with proper logging in /api/docs
Reuse a persistent
aiohttp.ClientSession in GiphyService
Remove hardcoded fallback database password from
db_engine.py
Replace
asyncio.get_event_loop() with asyncio.get_running_loop()
Remove hardcoded Discord webhook URL from
dependencies.py
Guard
interaction.guild access in has_player_role
Replace bare
except: with except Exception: and log errors
Avoid leaking internal exception details to Discord users
URL-encode Giphy search phrase before building request URL
URL-encode query parameter values in
APIClient._add_params
Remove hardcoded Giphy API key from
config.py
Add team ownership check in
/injury set-new