|
|
@ -107,12 +107,12 @@ class SteamClient(SteamPy.Client): |
|
|
|
await send_msg(trade, "Попытка принять трейд...") |
|
|
|
await trade.accept() |
|
|
|
#Force on trade accept |
|
|
|
asyncio.sleep(3) |
|
|
|
await asyncio.sleep(3) |
|
|
|
if not trade.id in self.trade_tracker: |
|
|
|
self.trade_tracker[trade.id] = 60 |
|
|
|
|
|
|
|
while self.trade_tracker[trade.id] > 2: |
|
|
|
asyncio.sleep(1) |
|
|
|
await asyncio.sleep(1) |
|
|
|
self.trade_tracker[trade.id] -= 1 |
|
|
|
await self.on_trade_accept(trade) |
|
|
|
return |
|
|
|