1.2.0
Changelog
Updated bot.py and api_client.py to support new API endpoints:
-
Renamed API Methods:
do_switch_player_nowrenamed toswitch_player_now.- Parameter
playerindo_switch_player_nowrenamed toplayer_name. - Updated method return type to
bool.
-
Replaced API Endpoint:
- Replaced
get_player_by_steam_idwithget_player_profile. - Adjusted the bot to use the new endpoint for retrieving player profiles.
- Replaced
-
Updated Bot Logic:
- Refactored the bot command handling to accommodate the changes in API methods and response structures.
- Enhanced error handling based on the updated API response formats.
-
Code Clean-up:
- Minor adjustments in the logic to ensure smooth integration with the updated API.
These changes ensure compatibility with the latest API modifications.