mirror of
				https://github.com/cdryzun/tg_bot_collections.git
				synced 2025-11-04 16:56:43 +08:00 
			
		
		
		
	Correct typo
This commit is contained in:
		@ -69,6 +69,7 @@ def gemini_handler(message: Message, bot: TeleBot) -> None:
 | 
			
		||||
        gemini_reply_text = player.last.text.strip()
 | 
			
		||||
        # 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(": **", "\:** ")
 | 
			
		||||
    except StopCandidateException as e:
 | 
			
		||||
        match = re.search(r'content\s*{\s*parts\s*{\s*text:\s*"([^"]+)"', str(e))
 | 
			
		||||
        if match:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user