fix: 移除无用的调试日志以简化命令注册逻辑
This commit is contained in:
@@ -183,7 +183,6 @@ class TelegramPlatformAdapter(Platform):
|
||||
return None
|
||||
|
||||
if not re.match(r"^[a-z0-9_]+$", cmd_name) or len(cmd_name) > 32:
|
||||
logger.debug(f"跳过无法注册的命令: {cmd_name}")
|
||||
return None
|
||||
|
||||
# Build description.
|
||||
|
||||
Reference in New Issue
Block a user