mirror of
				https://github.com/cdryzun/tg_bot_collections.git
				synced 2025-11-04 16:56:43 +08:00 
			
		
		
		
	@ -155,6 +155,17 @@ def claude_pro_handler(message: Message, bot: TeleBot) -> None:
 | 
				
			|||||||
                        )
 | 
					                        )
 | 
				
			||||||
                    except:
 | 
					                    except:
 | 
				
			||||||
                        pass
 | 
					                        pass
 | 
				
			||||||
 | 
					        try:
 | 
				
			||||||
 | 
					            # maybe not complete
 | 
				
			||||||
 | 
					            # maybe the same message
 | 
				
			||||||
 | 
					            bot.edit_message_text(
 | 
				
			||||||
 | 
					                message_id=reply_id.message_id,
 | 
				
			||||||
 | 
					                chat_id=reply_id.chat.id,
 | 
				
			||||||
 | 
					                text=convert(s),
 | 
				
			||||||
 | 
					                parse_mode="MarkdownV2",
 | 
				
			||||||
 | 
					            )
 | 
				
			||||||
 | 
					        except:
 | 
				
			||||||
 | 
					            pass
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        player_message.append(
 | 
					        player_message.append(
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								tg.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								tg.py
									
									
									
									
									
								
							@ -31,7 +31,7 @@ def main():
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    # Start bot
 | 
					    # Start bot
 | 
				
			||||||
    print("Starting tg collections bot.")
 | 
					    print("Starting tg collections bot.")
 | 
				
			||||||
    bot.infinity_polling(timeout=10, long_polling_timeout=5)
 | 
					    bot.infinity_polling(timeout=40, long_polling_timeout=20)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if __name__ == "__main__":
 | 
					if __name__ == "__main__":
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user