From da546cfe7fd2523dd3cee34988c9928d7dca5e12 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sun, 20 Apr 2025 18:08:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=88=20perf(telegram):=20=E5=BC=B1?= =?UTF-8?q?=E5=8C=96=E6=97=A0=E6=B3=95=E6=B3=A8=E5=86=8C=E6=8C=87=E4=BB=A4?= =?UTF-8?q?=E7=9A=84=E6=97=A5=E5=BF=97=E7=BA=A7=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astrbot/core/platform/sources/telegram/tg_adapter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrbot/core/platform/sources/telegram/tg_adapter.py b/astrbot/core/platform/sources/telegram/tg_adapter.py index e954f35de..ebf662127 100644 --- a/astrbot/core/platform/sources/telegram/tg_adapter.py +++ b/astrbot/core/platform/sources/telegram/tg_adapter.py @@ -167,7 +167,7 @@ class TelegramPlatformAdapter(Platform): return None if not re.match(r"^[a-z0-9_]+$", cmd_name) or len(cmd_name) > 32: - logger.warning(f"跳过无法注册的命令: {cmd_name}") + logger.debug(f"跳过无法注册的命令: {cmd_name}") return None # Build description.