Make BotIsBeingMutedException.botMuteRemaining inline

This commit is contained in:
Him188 2020-04-22 13:18:59 +08:00
parent 3471684117
commit d40e3ee745

View File

@ -43,4 +43,4 @@ class BotIsBeingMutedException(
val target: Group
) : RuntimeException("bot is being muted, remaining ${target.botMuteRemaining} seconds")
val BotIsBeingMutedException.botMuteRemaining: Int get() = target.botMuteRemaining
inline val BotIsBeingMutedException.botMuteRemaining: Int get() = target.botMuteRemaining