Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronangliss committed Dec 26, 2024
1 parent 0df3a58 commit abbd584
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/poke_env/player/player.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ async def _handle_battle_request(
choice = await choice
message = choice.message

print("######################################", message)
await self.ps_client.send_message(message, battle.battle_tag)

async def _handle_challenge_request(self, split_message: List[str]):
Expand Down
1 change: 1 addition & 0 deletions src/poke_env/ps_client/ps_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def _create_logger(self, log_level: Optional[int]) -> Logger:
return logger

async def _handle_message(self, message: str):
print(message)
"""Handle received messages.
:param message: The message to parse.
Expand Down

0 comments on commit abbd584

Please sign in to comment.