protect bot
This commit is contained in:
		
							
								
								
									
										2
									
								
								main.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.py
									
									
									
									
									
								
							@@ -23,7 +23,7 @@ logging.basicConfig(level=logging.INFO)
 | 
				
			|||||||
bot = Bot(token=os.environ['BOT_TOKEN'])
 | 
					bot = Bot(token=os.environ['BOT_TOKEN'])
 | 
				
			||||||
dp = Dispatcher(bot)
 | 
					dp = Dispatcher(bot)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
user_ids = os.environ['USERS'].split(',')
 | 
					user_ids = list(map(int, os.environ['USERS'].split(',')))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
async def check_updates():
 | 
					async def check_updates():
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user