GroupOperableEvent

interface GroupOperableEvent : GroupEvent

可由 MemberBot 操作的事件

See also

Functions

Link copied to clipboard
abstract fun intercept()

拦截这个事件

Properties

Link copied to clipboard
open override val bot: Bot
Link copied to clipboard
abstract val group: Group
Link copied to clipboard
abstract val isIntercepted: Boolean

事件是否已被拦截.

Link copied to clipboard
abstract val operator: Member?

操作人, 为 null 时为 Bot 操作

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
val GroupOperableEvent.isByBot: Boolean

是否由 Bot 操作

Link copied to clipboard
val GroupOperableEvent.operatorOrBot: Member

当操作人为 Member 时获取这个 Member, 当操作人为 Bot 时获取 Group.botAsMember