mirai-core / net.mamoe.mirai.event.events / BotMuteEvent

BotMuteEvent

data class BotMuteEvent : GroupEvent, Packet, BotPassiveEvent

Bot 被禁言

Constructors

<init>

Bot 被禁言

BotMuteEvent(durationSeconds: Int, operator: Member)

Properties

durationSeconds

val durationSeconds: Int

group

val group: Group

operator

操作人.

val operator: Member

Extension Functions

broadcast

广播一个事件的唯一途径.

suspend fun <E : Event> E.broadcast(): E