mirror of
https://github.com/cdryzun/tg_bot_collections.git
synced 2025-08-05 13:16:42 +08:00
fix: some break change
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
This commit is contained in:
@ -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")
|
||||||
|
Reference in New Issue
Block a user