feat(permission_api): 增强权限API文档,添加详细注释和示例

fix(system_management): 修复系统命令执行时缺失用户信息的错误处理
This commit is contained in:
minecraft1024a
2025-11-29 20:20:59 +08:00
parent feb4e7155e
commit ad0f495911
3 changed files with 347 additions and 26 deletions

View File

@@ -68,7 +68,7 @@ class PlusCommand(ABC):
self.log_prefix = "[PlusCommand]"
# chat_stream 会在运行时被 bot.py 设置
self.chat_stream: "ChatStream | None" = None
self.chat_stream: "ChatStream"
# 解析命令参数
self._parse_command()