Interface GuildMemberUpdatePacket

interface GuildMemberUpdatePacket {
    d: {
        avatar: null | string;
        avatar_decoration_data?: null | RawAvatarDecorationData;
        communication_disabled_until?: null | string;
        deaf?: boolean;
        flags?: number;
        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;
    avatar_decoration_data?: null | RawAvatarDecorationData;
    communication_disabled_until?: null | string;
    deaf?: boolean;
    flags?: number;
    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 avatar_decoration_data?: null | RawAvatarDecorationData
  • Optional communication_disabled_until?: null | string
  • Optional deaf?: boolean
  • Optional flags?: number
  • 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"