Improve gym challenge command with location-aware and case-insensitive search
- Updated gym challenge to automatically search in player's current location first - Made gym search case-insensitive (forest guardian, Forest Guardian, FOREST GUARDIAN all work) - Added helpful error messages showing available gyms in current location - Updated gym info command to also prioritize current location and be case-insensitive - Added get_gym_by_name_in_location() database method for location-specific searches - Improved user experience by removing need to travel between locations to challenge gyms Fixes: \!gym challenge forest guardian now works correctly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
4ccfdd3505
commit
c1f82b6c6d
3 changed files with 48 additions and 16 deletions
|
|
@ -9,7 +9,8 @@
|
|||
"Bash(cat:*)",
|
||||
"Bash(pip3 install:*)",
|
||||
"Bash(apt list:*)",
|
||||
"Bash(curl:*)"
|
||||
"Bash(curl:*)",
|
||||
"Bash(git commit:*)"
|
||||
],
|
||||
"deny": []
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue