Interface MemberPermissionChangeEvent

成员权限改变的事件(该成员不可能是Bot,见 BotGroupPermissionChangeEvent)

interface MemberPermissionChangeEvent {
    current: Permission;
    member: Member;
    origin: Permission;
    reply?: ((msgChain: string | MessageChain, quote?: boolean) => Promise<void>);
    type: "MemberPermissionChangeEvent";
}

Hierarchy (view full)

Properties

current: Permission
member: Member
origin: Permission
reply?: ((msgChain: string | MessageChain, quote?: boolean) => Promise<void>)

reply 辅助函数

type: "MemberPermissionChangeEvent"