mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-09 01:30:17 +08:00
Remove DslMarker so as not to pollute namespace
This commit is contained in:
parent
e75c8698cf
commit
f894c6cc28
@ -32,7 +32,6 @@ inline class XMLMessage(val stringValue: String) : Message,
|
|||||||
/**
|
/**
|
||||||
* 构造一条 XML 消息
|
* 构造一条 XML 消息
|
||||||
*/
|
*/
|
||||||
@XMLDsl
|
|
||||||
@MiraiExperimentalAPI("还未支持")
|
@MiraiExperimentalAPI("还未支持")
|
||||||
inline fun buildXMLMessage(block: @XMLDsl XMLMessageBuilder.() -> Unit): XMLMessage =
|
inline fun buildXMLMessage(block: @XMLDsl XMLMessageBuilder.() -> Unit): XMLMessage =
|
||||||
XMLMessage(XMLMessageBuilder().apply(block).text)
|
XMLMessage(XMLMessageBuilder().apply(block).text)
|
||||||
|
Loading…
Reference in New Issue
Block a user