mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 12:05:54 +00:00
perf: 优化!plugin指令的输出格式
This commit is contained in:
@@ -90,7 +90,7 @@ def plugin_operation(cmd, params, is_admin):
|
||||
plugin_list = plugin_host.__plugins__
|
||||
|
||||
if len(params) == 0:
|
||||
reply_str = "[bot]所有插件({}):\n\n".format(len(plugin_list))
|
||||
reply_str = "[bot]所有插件({}):\n".format(len(plugin_list))
|
||||
idx = 0
|
||||
for key in plugin_list:
|
||||
plugin = plugin_list[key]
|
||||
@@ -102,8 +102,6 @@ def plugin_operation(cmd, params, is_admin):
|
||||
if remote_url != "https://github.com/RockChinQ/QChatGPT" and remote_url != "https://gitee.com/RockChin/QChatGPT":
|
||||
reply_str += "源码: "+remote_url+"\n"
|
||||
|
||||
reply_str += "\n"
|
||||
|
||||
idx += 1
|
||||
|
||||
reply = [reply_str]
|
||||
|
||||
Reference in New Issue
Block a user