From 14d075bc178f04bfd5059ff2270ec453737a94ea Mon Sep 17 00:00:00 2001 From: HibiKier <775757368@qq.com> Date: Thu, 24 Nov 2022 19:16:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E5=8A=A0=E8=BD=BD=E8=B7=AF=E5=BE=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/manager/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/manager/models.py b/utils/manager/models.py index 1750e9a0..f2bac6a0 100644 --- a/utils/manager/models.py +++ b/utils/manager/models.py @@ -74,7 +74,7 @@ class PluginSetting(BaseModel): 插件设置 """ - cmd: Optional[List[str]] = [] # 命令 或 命令别名 + cmd: List[str] = [] # 命令 或 命令别名 default_status: bool = True # 默认开关状态 level: int = 5 # 功能权限等级 limit_superuser: bool = False # 功能状态是否限制超级用户