mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.event
/
MessageDsl
Message
Dsl
@
Target
(
allowedTargets
=
[
AnnotationTarget.FUNCTION
,
AnnotationTarget.CLASS
,
AnnotationTarget.TYPE
]
)
@
DslMarker
annotation class
MessageDsl
DSL 标记. 将能让 IDE 阻止一些错误的方法调用.