User

User

Represents any user logged onto botlist.space.

Constructor

new User(obj)

Parameters:
Name Type Description
obj object
Source:

Extends

Members

(readonly) avatar :string

The user's Discord avatar
Type:
  • string
Source:

(nullable) description :string

The user's description on botlist.space.
Type:
  • string
Source:

discriminator :string

The user's 4 digits.
Type:
  • string
Source:

id :string

The user's Discord ID.
Type:
  • string
Source:

(readonly) page :string

The user's page on botlist.space.
Type:
  • string
Source:

(readonly) raw :object

The raw object used to create the class and gave class values.
Type:
  • object
Inherited From:
Source:

(readonly) tag :string

The user's Discord Tag.
Type:
  • string
Source:

username :string

The user's Discord username.
Type:
  • string
Source:

Methods

toString()

Returns text that Discord recognizes as a user mention.
Source: