distype - v3.0.1
    Preparing search index...

    Interface CachedMember

    A cached member.

    interface CachedMember {
        avatar?: null | string;
        avatar_decoration_data?: null | APIAvatarDecorationData;
        banner?: null | string;
        communication_disabled_until?: null | string;
        deaf?: boolean;
        flags?: GuildMemberFlags;
        guild_id: string;
        joined_at?: string;
        mute?: boolean;
        nick?: null | string;
        pending?: boolean;
        premium_since?: null | string;
        roles?: string[];
        user?: APIUser;
        user_id: string;
    }

    Hierarchy

    • Partial<DiscordTypes.APIGuildMember>
      • CachedMember
    Index

    Properties

    avatar?: null | string

    The member's guild avatar hash

    avatar_decoration_data?: null | APIAvatarDecorationData

    The data for the member's guild avatar decoration

    banner?: null | string

    The member's guild banner hash

    communication_disabled_until?: null | string

    Timestamp of when the time out will be removed; until then, they cannot interact with the guild

    deaf?: boolean

    Whether the user is deafened in voice channels

    flags?: GuildMemberFlags

    Guild member flags represented as a bit set

    0

    guild_id: string

    The ID of the guild the member object originates from. Always included, regardless of cache control.

    joined_at?: string

    When the user joined the guild

    mute?: boolean

    Whether the user is muted in voice channels

    nick?: null | string

    This users guild nickname

    pending?: boolean

    Whether the user has not yet passed the guild's Membership Screening requirements

    If this field is not present, it can be assumed as false.

    premium_since?: null | string

    When the user started boosting the guild

    roles?: string[]

    Array of role object ids

    user?: APIUser

    The user this guild member represents

    This field won't be included in the member object attached to MESSAGE_CREATE and MESSAGE_UPDATE gateway events.

    user_id: string

    The ID of the user the member object originates from. Always included, regardless of cache control.