mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-08-05 13:16:42 +08:00
fix: some break change for markdown
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
@ -7,14 +7,9 @@ import time
|
||||
from dify_client import ChatClient
|
||||
from telebot import TeleBot
|
||||
from telebot.types import Message
|
||||
from telegramify_markdown.customize import markdown_symbol
|
||||
|
||||
from ._utils import bot_reply_first, bot_reply_markdown, enrich_text_with_urls
|
||||
|
||||
# If you want, Customizing the head level 1 symbol
|
||||
markdown_symbol.head_level_1 = "📌"
|
||||
markdown_symbol.link = "🔗" # If you want, Customizing the link symbol
|
||||
|
||||
|
||||
def dify_handler(message: Message, bot: TeleBot) -> None:
|
||||
"""dify : /dify API_Key <question>"""
|
||||
|
Reference in New Issue
Block a user