User

User

Represents any user logged onto serverlist.space.

Constructor

new User(obj)

Parameters:
Name Type Description
obj object
Source:

Extends

Members

avatar :string

The user's avatar URL.
Type:
  • string
Source:

(nullable) description :string

The user's description on serverlist.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) pageURL :string

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

(readonly) raw :object

The raw object of the class, giving the class properties value.
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: