diff --git a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/BuiltInCommands.kt b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/BuiltInCommands.kt index 43457b588..0c1204cdb 100644 --- a/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/BuiltInCommands.kt +++ b/backend/mirai-console/src/main/kotlin/net/mamoe/mirai/console/command/BuiltInCommands.kt @@ -91,9 +91,10 @@ public object BuiltInCommands { ), BuiltInCommand { @Handler public suspend fun CommandSender.handle() { - sendMessage(allRegisteredCommands.joinToString { - it.usage + "\n\n" - }) + sendMessage( + allRegisteredCommands.joinToString("\n\n") { "◆ ${it.usage}" }.lines().filterNot(String::isBlank) + .joinToString("\n") + ) } }