diff --git a/main.py b/main.py index 3038c52..1122ed3 100644 --- a/main.py +++ b/main.py @@ -141,9 +141,9 @@ def check(): limits = atmInfo['limits'] for limit in limits: if limit['currency'] == 'USD': + history.append(f'{datetime.now()}: {decoded["address"]} - Сумма: {limit["amount"]}$') for id in id_chats: bot.send_message(id, f'{decoded["address"]} - Сумма: {limit["amount"]}$') - history.append(f'{datetime.now()}: {decoded["address"]} - Сумма: {limit["amount"]}$') count += 1 last_check = datetime.now() time.sleep(600)