Remove common Message.toMiraiCode

This commit is contained in:
Him188 2020-06-12 16:34:06 +08:00
parent f0a67d781e
commit 751a3731b0

View File

@ -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()
fun String.parseMiraiCode(): MessageChain = parseMiraiCodeImpl()