Class User

Represents a user.

Hierarchy

Constructors

Properties

_createdAt: number

Timestamp (unix epoch time) of the user's account creation.

avatarURL: null | string

Current avatar url of the user.

bannerURL: null | string

Current banned url of the user.

bot: boolean

If set to true, the user is a bot.

client: Client

Bot's client.

id: string | number

Item ID

type: null | UserTypes

User type

username: string

User's username.

Accessors