major-domo-v2/commands
Cal Corum ab8bfa115f Fix /injury roll command crash when player.team is None
The search_players() API endpoint returns team as an ID only (not nested object),
causing player.team to be None. Added null check before accessing team.thumbnail.

Fixes AttributeError: 'NoneType' object has no attribute 'thumbnail'

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-04 21:50:43 -06:00
..
admin Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
custom_commands Fix custom command mentions not triggering notifications 2026-01-28 15:45:38 -06:00
dev Add dev-only loaded dice command for testing /ab rolls 2026-01-07 22:45:01 -06:00
dice Add dev-only loaded dice command for testing /ab rolls 2026-01-07 22:45:01 -06:00
draft Add dem_week parameter to player team updates 2026-02-01 21:12:06 -06:00
examples Fix sWAR display precision and draft team role pings 2025-12-12 18:41:46 -06:00
gameplay CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
help CLAUDE: Add flexible permission system for multi-server support 2025-11-06 11:29:29 -06:00
injuries Fix /injury roll command crash when player.team is None 2026-02-04 21:50:43 -06:00
league Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
players Update CLAUDE.md docs for all-season player search feature 2026-01-23 14:36:03 -06:00
profile Fix profile commands package not returning expected tuple 2026-01-13 16:25:38 -06:00
soak Refactored listener logic and added SpoilerListener 2025-10-22 14:59:19 -05:00
spoiler Refactored listener logic and added SpoilerListener 2025-10-22 14:59:19 -05:00
teams Fix sWAR display precision and draft team role pings 2025-12-12 18:41:46 -06:00
transactions Add pending transaction validation for /dropadd command 2025-12-21 17:13:43 -06:00
utilities Fix double emoji in embed titles 2025-12-10 15:42:13 -06:00
voice Consolidate season config variables to single source (v2.21.0) 2025-12-02 16:12:16 -06:00
__init__.py CLAUDE: Initial commit for discord-app-v2 rebuild 2025-08-15 00:04:50 -05:00
CLAUDE.md CLAUDE: Add comprehensive CLAUDE.md documentation files for AI agent guidance 2025-10-20 20:30:07 -05:00