mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-07 16:40:43 +08:00
Fix error message when sending message
This commit is contained in:
parent
44b9fd2d6a
commit
17a5d3821f
@ -156,11 +156,11 @@ internal abstract class SendMessageHandler<C : Contact> {
|
||||
}
|
||||
}
|
||||
check(resp is MessageSvcPbSendMsg.Response.SUCCESS) {
|
||||
"Send group message failed: $resp"
|
||||
"Send message failed: $resp"
|
||||
}
|
||||
}
|
||||
is MusicSharePacket.Response -> {
|
||||
resp.pkg.checkSuccess("send group music share")
|
||||
resp.pkg.checkSuccess("send music share")
|
||||
|
||||
source = constructSourceFromMusicShareResponse(finalMessage, resp)
|
||||
}
|
||||
@ -175,7 +175,7 @@ internal abstract class SendMessageHandler<C : Contact> {
|
||||
source!!.ensureSequenceIdAvailable()
|
||||
} catch (e: Exception) {
|
||||
bot.network.logger.warning(
|
||||
"Timeout awaiting sequenceId for group message(${finalMessage.content.take(10)}). Some features may not work properly",
|
||||
"Timeout awaiting sequenceId for message(${finalMessage.content.take(10)}). Some features may not work properly",
|
||||
e
|
||||
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user