Исправление формирования истории
This commit is contained in:
		
							
								
								
									
										2
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user