From f5de74c6db5754208d10c04a6db945f495eea293 Mon Sep 17 00:00:00 2001 From: Him188 Date: Wed, 8 Apr 2020 10:32:14 +0800 Subject: [PATCH] Fix typo --- .../kotlin/net/mamoe/mirai/console/command/DefaultCommands.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/DefaultCommands.kt b/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/DefaultCommands.kt index 71b1aed83..d757eed40 100644 --- a/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/DefaultCommands.kt +++ b/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/DefaultCommands.kt @@ -283,7 +283,7 @@ object DefaultCommands { registerConsoleCommands { name = "install" - description = "Install plugin from PC" + description = "Install plugin from PluginCenter" usage = "/install [plugin-name] to install plugin or /install [page-num] to show list " onCommand { @@ -292,6 +292,7 @@ object DefaultCommands { suspend fun showPage(num:Int){ sendMessage("正在连接" + center.name) val list = PluginCenter.Default.fetchPlugin(num) + appendMessage("\n") list.values.forEach { appendMessage("=>" + it.name + " ;作者: " + it.author + " ;介绍: " + it.description) }