User

Signature

export interface User extends ObjectToLower<APIUser>

Properties

tagGetter
get tag(): string;
nameGetter
get name(): string;
get createdTimestamp(): number;

Create a timestamp for the current object.

get createdAt(): Date;

createdAt gets the creation Date instace of the current object.

bot?: boolean | undefined;
system?: boolean | undefined;
banner?: string | null | undefined;
locale?: string | undefined;
email?: string | null | undefined;
primaryGuild?: { identityGuildId: string | null; identityEnabled: boolean | null; tag: string | null; badge: string | null; } | null | undefined;

Methods

toString(): `<@${string}>`;

Returns a string representation of an object.