From 244bbff85c9c629302ea97a6ea68270959cd22e1 Mon Sep 17 00:00:00 2001 From: Him188 Date: Thu, 30 Apr 2020 17:10:41 +0800 Subject: [PATCH] Fix typo --- .../src/commonMain/kotlin/net.mamoe.mirai/message/data/impl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/impl.kt b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/impl.kt index a6d528671..e72b6d2ac 100644 --- a/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/impl.kt +++ b/mirai-core/src/commonMain/kotlin/net.mamoe.mirai/message/data/impl.kt @@ -373,7 +373,7 @@ internal fun calculateImageMd5ByImageId(imageId: String): ByteArray { } internal val ILLEGAL_IMAGE_ID_EXCEPTION_MESSAGE = - "ImageId must matches Regex `${FRIEND_IMAGE_ID_REGEX_1.pattern}`, " + + "ImageId must match Regex `${FRIEND_IMAGE_ID_REGEX_1.pattern}`, " + "`${FRIEND_IMAGE_ID_REGEX_2.pattern}` or " + "`${GROUP_IMAGE_ID_REGEX.pattern}`"