mirror of
https://github.com/mamoe/mirai.git
synced 2025-01-05 07:30:09 +08:00
Make BotIsBeingMutedException.botMuteRemaining
inline
This commit is contained in:
parent
3471684117
commit
d40e3ee745
@ -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
|
Loading…
Reference in New Issue
Block a user