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

GroupSettingChangeEvent

interface GroupSettingChangeEvent<T> : GroupEvent, BotPassiveEvent, BroadcastControllable

群设置改变. 此事件广播前修改就已经完成.

Properties

new

abstract val new: T

origin

abstract val origin: T

shouldBroadcast

open val shouldBroadcast: Boolean

Extension Functions

broadcast

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

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

Inheritors

GroupAllowAnonymousChatEvent

群 "匿名聊天" 功能状态改变. 此事件广播前修改就已经完成.

data class GroupAllowAnonymousChatEvent : GroupSettingChangeEvent<Boolean>, Packet, GroupOperableEvent

GroupAllowConfessTalkEvent

群 "坦白说" 功能状态改变. 此事件广播前修改就已经完成.

data class GroupAllowConfessTalkEvent : GroupSettingChangeEvent<Boolean>, Packet

GroupAllowMemberInviteEvent

群 "允许群员邀请好友加群" 功能状态改变. 此事件广播前修改就已经完成.

data class GroupAllowMemberInviteEvent : GroupSettingChangeEvent<Boolean>, Packet, GroupOperableEvent

GroupEntranceAnnouncementChangeEvent

入群公告改变. 此事件广播前修改就已经完成.

data class GroupEntranceAnnouncementChangeEvent : GroupSettingChangeEvent<String>, Packet, GroupOperableEvent

GroupMuteAllEvent

群 "全员禁言" 功能状态改变. 此事件广播前修改就已经完成.

data class GroupMuteAllEvent : GroupSettingChangeEvent<Boolean>, Packet, GroupOperableEvent

GroupNameChangeEvent

群名改变. 此事件广播前修改就已经完成.

data class GroupNameChangeEvent : GroupSettingChangeEvent<String>, Packet, GroupOperableEvent