From 2c8befa2b6eac8b2bebcb6616f168d10d68a6292 Mon Sep 17 00:00:00 2001 From: gsd Date: Sat, 18 Apr 2026 22:40:54 +0300 Subject: [PATCH] neext --- tradebot.facti13.external.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tradebot.facti13.external.py b/tradebot.facti13.external.py index efbd61c..5dc7456 100644 --- a/tradebot.facti13.external.py +++ b/tradebot.facti13.external.py @@ -149,12 +149,12 @@ class SteamClient(SteamPy.Client): await trade.decline() return - if len(trade.items_to_receive) > 50: + if len(trade.receiving) > 50: warning(f"[{trade.id}] cannot accept trade with more 50 items") await trade.decline() return - seconds = self.items.Items2Seconds(trade.items_to_receive) + seconds = self.items.Items2Seconds(trade.receiving) if seconds == 0: error(f"[{trade.id}] cannot accept trade not valid items") await trade.decline() @@ -209,8 +209,8 @@ class SteamClient(SteamPy.Client): pulse_result = await self.backend.pulse() if not pulse_result: warning("Backend not responde, any time try add vip") - extra = f"keys={self.items.mannco_key(trade.items_to_receive)};metal={self.items.pure_metal(trade.items_to_receive)};" - seconds = self.items.Items2Seconds(trade.items_to_receive) + extra = f"keys={self.items.mannco_key(trade.receiving)};metal={self.items.pure_metal(trade.receiving)};" + seconds = self.items.Items2Seconds(trade.receiving) result = await self.backend.vip(trade.user, seconds, extra, unique=f"steam_{trade.id}") if result == 99: