mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-25 15:40:28 +08:00
Improve messages
This commit is contained in:
parent
d403d5d79c
commit
3c64b99553
@ -92,11 +92,11 @@ internal object ConsoleCommandSenderImplPure : MiraiConsoleImplementation.Consol
|
||||
kotlin.runCatching {
|
||||
lineReader.printAbove(message)
|
||||
}.onFailure {
|
||||
consoleLogger.error(it)
|
||||
consoleLogger.error("Exception while ConsoleCommandSenderImplPure.sendMessage", it)
|
||||
}
|
||||
}
|
||||
|
||||
override suspend fun sendMessage(message: Message) {
|
||||
return sendMessage(message.contentToString())
|
||||
return sendMessage(message.toString())
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user