fix: 修复插件指令报错的问题

This commit is contained in:
Soulter
2023-05-11 22:00:18 +08:00
parent 323c2cecf8
commit 6627b2e1e5
+1 -1
View File
@@ -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"