From 6627b2e1e59e0604859d190ae17ef772b0ec157a Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Thu, 11 May 2023 22:00:18 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=8F=92=E4=BB=B6?= =?UTF-8?q?=E6=8C=87=E4=BB=A4=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- model/command/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/command/command.py b/model/command/command.py index df4c4871f..5967d4ede 100644 --- a/model/command/command.py +++ b/model/command/command.py @@ -52,7 +52,7 @@ class Command: ''' 插件指令 ''' - def plugin_oper(message: str, role: str): + def plugin_oper(self, message: str, role: str): l = message.split(" ") if len(l) < 3: return True, "【安装插件】示例:\n安装插件: \nplugin i 插件Github地址\n卸载插件: \nplugin i 插件名", "plugin"