mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-05 12:22:24 +08:00
Add errorSince information for deprecation for BotConfiguration.json
This commit is contained in:
parent
d757764308
commit
acb048c267
@ -67,7 +67,7 @@ public open class BotConfiguration { // open for Java
|
||||
"Changing serial format is going to be forbidden. Deprecated for removal. ",
|
||||
level = DeprecationLevel.ERROR
|
||||
)
|
||||
@DeprecatedSinceMirai("")
|
||||
@DeprecatedSinceMirai(errorSince = "2.11") // was experimental
|
||||
public var json: Json = kotlin.runCatching {
|
||||
Json {
|
||||
isLenient = true
|
||||
|
Loading…
Reference in New Issue
Block a user