@typed-discord/rest
    Preparing search index...

    Interface UserResponse

    interface UserResponse {
        accent_color?: number | null;
        avatar: string | null;
        avatar_decoration_data?: UserAvatarDecorationResponse | null;
        banner?: string | null;
        bot?: boolean;
        collectibles?: UserCollectiblesResponse | null;
        discriminator: string;
        flags: number;
        global_name: string | null;
        id: `${bigint}`;
        primary_guild: UserPrimaryGuildResponse | null;
        public_flags: number;
        system?: boolean;
        username: string;
    }
    Index

    Properties

    accent_color?: number | null

    the user's banner color encoded as an integer representation of hexadecimal color code

    avatar: string | null

    the user's avatar hash

    avatar_decoration_data?: UserAvatarDecorationResponse | null

    data for the user's avatar decoration

    banner?: string | null

    the user's banner hash

    bot?: boolean

    whether the user belongs to an OAuth2 application

    collectibles?: UserCollectiblesResponse | null

    data for the user's collectibles

    discriminator: string

    the user's Discord-tag

    flags: number

    the flags on a user's account

    global_name: string | null

    the user's display name, if it is set

    id: `${bigint}`

    the user's id

    primary_guild: UserPrimaryGuildResponse | null

    the user's primary guild

    public_flags: number

    the public flags on a user's account

    system?: boolean

    whether the user is an Official Discord System user (part of the urgent message system)

    username: string

    the user's username, not unique across the platform