From 2b20d946e6a223da2f7208758b30b147dbb3844d Mon Sep 17 00:00:00 2001 From: Rock Chin <1010553892@qq.com> Date: Wed, 18 Jan 2023 15:26:35 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96!plugin=E6=8C=87?= =?UTF-8?q?=E4=BB=A4=E7=9A=84=E8=BE=93=E5=87=BA=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/qqbot/command.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/qqbot/command.py b/pkg/qqbot/command.py index 4550437c..7989cbcd 100644 --- a/pkg/qqbot/command.py +++ b/pkg/qqbot/command.py @@ -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]