Remove DslMarker so as not to pollute namespace

This commit is contained in:
Him188 2020-02-23 14:00:07 +08:00
parent e75c8698cf
commit f894c6cc28

View File

@ -32,7 +32,6 @@ inline class XMLMessage(val stringValue: String) : Message,
/**
* 构造一条 XML 消息
*/
@XMLDsl
@MiraiExperimentalAPI("还未支持")
inline fun buildXMLMessage(block: @XMLDsl XMLMessageBuilder.() -> Unit): XMLMessage =
XMLMessage(XMLMessageBuilder().apply(block).text)