Skip to content

1.2.0

Choose a tag to compare

@bumseb1ene bumseb1ene released this 26 Aug 19:40
· 8 commits to main since this release

Changelog

Updated bot.py and api_client.py to support new API endpoints:

  1. Renamed API Methods:

    • do_switch_player_now renamed to switch_player_now.
    • Parameter player in do_switch_player_now renamed to player_name.
    • Updated method return type to bool.
  2. Replaced API Endpoint:

    • Replaced get_player_by_steam_id with get_player_profile.
    • Adjusted the bot to use the new endpoint for retrieving player profiles.
  3. 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.
  4. 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.