Commit 5b488bae authored by Him188's avatar Him188

Add message to MiraiExperimentalAPI

parent af8e9545
......@@ -20,7 +20,9 @@ annotation class MiraiInternalAPI
*/
@Experimental(level = Experimental.Level.ERROR)
@Target(CLASS, TYPEALIAS, FUNCTION, PROPERTY, FIELD, CONSTRUCTOR)
annotation class MiraiExperimentalAPI
annotation class MiraiExperimentalAPI(
val message: String = ""
)
/**
* 标记这个 API 是自 Mirai 某个版本起才受支持.
......
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