1
0
mirror of https://github.com/mamoe/mirai.git synced 2025-04-15 07:37:08 +08:00

Fix false positive mute state

This commit is contained in:
Him188 2020-02-13 09:06:39 +08:00
parent e5ff383666
commit fbe973f3a1

View File

@ -184,4 +184,4 @@ interface Group : Contact, CoroutineScope {
/**
* 返回机器人是否正在被禁言
*/
val Group.isBotMuted: Boolean get() = this.botMuteRemaining == 0
val Group.isBotMuted: Boolean get() = this.botMuteRemaining != 0