diff --git a/backend/mirai-console/src/test/kotlin/net/mamoe/mirai/console/command/TestCommands.kt b/backend/mirai-console/src/test/kotlin/net/mamoe/mirai/console/command/TestCommands.kt index bfcc0bd25..797047519 100644 --- a/backend/mirai-console/src/test/kotlin/net/mamoe/mirai/console/command/TestCommands.kt +++ b/backend/mirai-console/src/test/kotlin/net/mamoe/mirai/console/command/TestCommands.kt @@ -100,9 +100,6 @@ internal inline fun withSender(block: CommandSender.() -> Unit): MessageChain { result.add(message) } - override fun appendMessage(message: String) { - result.add(message) - } } sender.let(block) return result.asMessageChain()