interface JSONUser {
    avatarURL: null | string;
    bannerURL: null | string;
    bot: boolean;
    createdAt: Date;
    id: string;
    type: null | UserTypes;
    username: string;
}

Hierarchy

Properties

avatarURL: null | string

Current avatar url of the user.

bannerURL: null | string

Current banned url of the user.

bot: boolean

If true, the user is a bot.

createdAt: Date

When the user account was created.

id: string
type: null | UserTypes

User type

username: string

User's username.