diff --git a/tradebot.facti13.external.py b/tradebot.facti13.external.py index 67f2bdb..8b91520 100644 --- a/tradebot.facti13.external.py +++ b/tradebot.facti13.external.py @@ -81,13 +81,13 @@ class SteamClient(SteamPy.Client): info(f"Logged in as: {self.user}") asyncio.ensure_future(self.backend_checker(60)) - #async def on_connect(self): - # await self.backend.pulse() - # ok("Success connect to steam") + async def on_connect(self): + await self.backend.pulse() + ok("Success connect to steam") - #async def on_disconnect(self): - # await self.backend.pulse() - # ok("Disconnect from steam") + async def on_disconnect(self): + await self.backend.pulse() + ok("Disconnect from steam") async def update_prices(self, exit_if_error = False): prices = await self.backend.prices(exit_if_error)