mirai-core / net.mamoe.mirai.contact / BotIsBeingMutedException

BotIsBeingMutedException

@SinceMirai("0.33.0") class BotIsBeingMutedException : RuntimeException

发送消息时 bot 正处于被禁言状态时抛出的异常.

See Also

Group.sendMessage

Constructors

<init>

发送消息时 bot 正处于被禁言状态时抛出的异常.

BotIsBeingMutedException(target: Group)

Properties

target

val target: Group

Extension Properties

botMuteRemaining

val BotIsBeingMutedException.botMuteRemaining: Int