KookMemberChangedEvent

KOOK 的频道成员变更事件。

相关的 KOOK 原始事件类型有:

其中,SelfExitedGuildEventExtraSelfJoinedGuildEventExtra 代表为 BOT 自身作为成员的变动, 因此会额外提供相对应的 bot成员变动 事件类型来进行更精准的事件监听。

相关事件

成员的频道变更事件

KookMemberChannelChangedEvent 事件及其子类型 KookMemberExitedChannelEventKookMemberJoinedChannelEvent 代表了一个频道服务器中的某个群成员加入、离开某一个频道(通常为语音频道)的事件。

成员的服务器变更事件

KookMemberGuildChangedEvent 事件及其子类型 KookMemberJoinedGuildEventKookMemberExitedGuildEvent 代表了一个频道服务器中有新群成员加入、旧成员离开此服务器的事件。

成员的信息变更事件

KookMemberUpdatedEvent 事件 代表了一个成员的信息发生了变更的事件。

Bot频道服务器事件

KookBotMemberChangedEvent 事件及其子类型 KookBotSelfJoinedGuildEventKookBotSelfExitedGuildEvent 代表了当前bot加入新频道服务器、离开旧频道服务器的事件。

Author

forte

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val time: Timestamp

变更时间。

Inherited properties

Link copied to clipboard
abstract override val bot: KookBot

此事件对应的bot示例。

Link copied to clipboard
open override val component: Component
Link copied to clipboard
open override val id: ID
Link copied to clipboard
abstract val sourceBody: Any?

sourceEvent 中的 extra.body 信息。

Link copied to clipboard

当前事件内部对应的原始事件实体。

Link copied to clipboard
abstract val sourceEventRaw: String

当前事件对应的原始事件JSON字符串。

Inherited functions

Link copied to clipboard
abstract suspend override fun content(): Any?
Link copied to clipboard
open override fun toString(): String