User

User

Represents a user on Bots for Discord.

Constructor

new User(obj)

Parameters:
Name Type Description
obj obj
Source:

Extends

Members

avatar :string

The user's avatar code on Discord.
Type:
  • string
Source:

(readonly) avatarURL :string

The user's Discord Avatar URL.
Type:
  • string
Source:

(nullable) background :string

The user's background image on Bots for Discord.
Type:
  • string
Source:

(nullable) biography :string

The user's biography on Bots for Discord.
Type:
  • string
Source:

discriminator :string

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

id :string

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

(readonly) page :string

The user's page on Bots for Discord.
Type:
  • string
Source:

positions :Positions

The user's positions on Bots for Discord.
Type:
Source:

(readonly) raw :object

The raw object used to give class values meaning.
Type:
  • object
Inherited From:
Source:

tag :string

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

username :string

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

(nullable) website :string

The user's website.
Type:
  • string
Source:

Methods

toString()

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