AppUser represents the logged app user.

Hierarchy (view full)

Constructors

Properties

app: boolean

If true, the user is an app (aka: bot).

appID: string

Client User App ID (aka botID)

avatarURL: null | string

Current avatar url of the user.

bannerURL: null | string

Current banned url of the user.

client: Client

App's client.

createdAt: Date

When the user account was created.

id: string

Item ID

ownerID: string

ID of the app owner.

type: null | UserTypes

User type

username: string

User's username.

Methods