Commit 751a3731 authored by Him188's avatar Him188

Remove common Message.toMiraiCode

parent f0a67d78
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment