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"