|
|
@ -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) |
|
|
|