mirror of
				https://github.com/cdryzun/tg_bot_collections.git
				synced 2025-11-04 08:46:44 +08:00 
			
		
		
		
	Update the full-angle character
This commit is contained in:
		@ -69,7 +69,7 @@ def gemini_handler(message: Message, bot: TeleBot) -> None:
 | 
				
			|||||||
        gemini_reply_text = player.last.text.strip()
 | 
					        gemini_reply_text = player.last.text.strip()
 | 
				
			||||||
        # Gemini is often using ':' in **Title** which not work in Telegram Markdown
 | 
					        # Gemini is often using ':' in **Title** which not work in Telegram Markdown
 | 
				
			||||||
        gemini_reply_text = gemini_reply_text.replace(":**", "\:**")
 | 
					        gemini_reply_text = gemini_reply_text.replace(":**", "\:**")
 | 
				
			||||||
        gemini_reply_text = gemini_reply_text.replace(": **", "\:** ")
 | 
					        gemini_reply_text = gemini_reply_text.replace(":**", "\:**")
 | 
				
			||||||
    except StopCandidateException as e:
 | 
					    except StopCandidateException as e:
 | 
				
			||||||
        match = re.search(r'content\s*{\s*parts\s*{\s*text:\s*"([^"]+)"', str(e))
 | 
					        match = re.search(r'content\s*{\s*parts\s*{\s*text:\s*"([^"]+)"', str(e))
 | 
				
			||||||
        if match:
 | 
					        if match:
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user