优化插件管理内容

This commit is contained in:
liuwei
2025-03-19 14:28:23 +08:00
parent cb87ca4921
commit 0ed506a6a4
5 changed files with 6 additions and 6 deletions

View File

@@ -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, "列出插件成功"