fix: some break change

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
yihong0618
2025-07-09 08:34:58 +08:00
parent 95ccb96fee
commit 88b634be93

View File

@ -13,11 +13,11 @@ from expiringdict import ExpiringDict
from telebot import TeleBot from telebot import TeleBot
from telebot.types import Message from telebot.types import Message
from telebot.util import smart_split from telebot.util import smart_split
from telegramify_markdown.customize import markdown_symbol from telegramify_markdown.customize import get_runtime_config
from urlextract import URLExtract from urlextract import URLExtract
markdown_symbol.head_level_1 = "📌" # If you want, Customizing the head level 1 symbol get_runtime_config().markdown_symbol.head_level_1 = "📌" # If you want, Customizing the head level 1 symbol
markdown_symbol.link = "🔗" # If you want, Customizing the link symbol get_runtime_config().markdown_symbol.link = "🔗" # If you want, Customizing the link symbol
T = TypeVar("T", bound=Callable) T = TypeVar("T", bound=Callable)
logger = logging.getLogger("bot") logger = logging.getLogger("bot")