BotIsBeingMutedException

class BotIsBeingMutedException @MiraiInternalApi constructor(target: Group, originalMessage: Message) : SendMessageFailedException

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

See also

Constructors

BotIsBeingMutedException
Link copied to clipboard
fun BotIsBeingMutedException(target: Group)
BotIsBeingMutedException
Link copied to clipboard
fun BotIsBeingMutedException(target: Group, originalMessage: Message)

Properties

cause
Link copied to clipboard
open val cause: Throwable?
message
Link copied to clipboard
open override val message: String
originalMessage
Link copied to clipboard
val originalMessage: Message
reason
Link copied to clipboard
val reason: SendMessageFailedException.Reason
target
Link copied to clipboard
open override val target: Group

Extensions

botMuteRemaining
Link copied to clipboard
val BotIsBeingMutedException.botMuteRemaining: Int