mirror of
				https://github.com/cdryzun/tg_bot_collections.git
				synced 2025-11-04 16:56:43 +08:00 
			
		
		
		
	@ -100,7 +100,8 @@ def wrap_handler(handler: T, bot: TeleBot) -> T:
 | 
			
		||||
    def wrapper(message: Message, *args: Any, **kwargs: Any) -> None:
 | 
			
		||||
        try:
 | 
			
		||||
            m = ""
 | 
			
		||||
            if message.text.find("answer_it") != -1:
 | 
			
		||||
 | 
			
		||||
            if message.text and message.text.find("answer_it") != -1:
 | 
			
		||||
                # for answer_it no args
 | 
			
		||||
                return handler(message, *args, **kwargs)
 | 
			
		||||
            elif message.text is not None:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user