优化插件管理内容
This commit is contained in:
@@ -16,7 +16,7 @@ class PluginManagerPlugin(MessagePluginInterface):
|
||||
|
||||
@property
|
||||
def name(self) -> str:
|
||||
return "插件管理"
|
||||
return "插件管理[plugin_manager]"
|
||||
|
||||
@property
|
||||
def version(self) -> str:
|
||||
@@ -159,7 +159,7 @@ class PluginManagerPlugin(MessagePluginInterface):
|
||||
message = "-----Bot-----\n📋 插件列表:\n"
|
||||
for plugin in plugins:
|
||||
status = "✅ 已启用" if plugin.status == PluginStatus.RUNNING else "❌ 已禁用"
|
||||
message += f"{plugin.name} v{plugin.version} - {status}\n"
|
||||
message += f"{status}-{plugin.name}\n"
|
||||
|
||||
wcf.send_text(message, (roomid if roomid else sender), sender)
|
||||
return True, "列出插件成功"
|
||||
|
||||
Reference in New Issue
Block a user