feat(permission_api): 增强权限API文档,添加详细注释和示例
fix(system_management): 修复系统命令执行时缺失用户信息的错误处理
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user