Interface GuildMemberUpdatePacket

interface GuildMemberUpdatePacket {
    d: {
        avatar: null | string;
        communication_disabled_until?: null | string;
        deaf?: boolean;
        guild_id: string;
        joined_at: null | string;
        mute?: boolean;
        nick?: null | string;
        pending?: boolean;
        premium_since?: null | string;
        roles: string[];
        user: RawUser;
    };
    op: DISPATCH;
    s: number;
    t: "GUILD_MEMBER_UPDATE";
}

Hierarchy (view full)

Properties

d op s t

Properties

d: {
    avatar: null | string;
    communication_disabled_until?: null | string;
    deaf?: boolean;
    guild_id: string;
    joined_at: null | string;
    mute?: boolean;
    nick?: null | string;
    pending?: boolean;
    premium_since?: null | string;
    roles: string[];
    user: RawUser;
}

Type declaration

  • avatar: null | string
  • Optional communication_disabled_until?: null | string
  • Optional deaf?: boolean
  • guild_id: string
  • joined_at: null | string
  • Optional mute?: boolean
  • Optional nick?: null | string
  • Optional pending?: boolean
  • Optional premium_since?: null | string
  • roles: string[]
  • user: RawUser
s: number
t: "GUILD_MEMBER_UPDATE"