diff --git a/mirai-serialization/src/commonMain/kotlin/net/mamoe/mirai/message/code/MiraiCode.kt b/mirai-serialization/src/commonMain/kotlin/net/mamoe/mirai/message/code/MiraiCode.kt index 14ebac393..48ecfa0ab 100644 --- a/mirai-serialization/src/commonMain/kotlin/net/mamoe/mirai/message/code/MiraiCode.kt +++ b/mirai-serialization/src/commonMain/kotlin/net/mamoe/mirai/message/code/MiraiCode.kt @@ -23,14 +23,4 @@ import kotlin.jvm.JvmName * 解析形如 "[mirai:]" 的 mirai 码, 即 [Message.toString] 返回的内容. */ @SinceMirai("1.1.0") -fun String.parseMiraiCode(): MessageChain = parseMiraiCodeImpl() - -/** - * 将消息转为 'mirai 码' 表示形式. - * - * 各类型消息对应的格式: - * - * - */ -@SinceMirai("1.1.0") -fun Message.toMiraiCode(): String = this.toString() \ No newline at end of file +fun String.parseMiraiCode(): MessageChain = parseMiraiCodeImpl() \ No newline at end of file