Class: User

User

new User()

User is the parent class of all Curse users we'll find here

Properties:
Name Type Description
client Client

Client object used to create this User instance.

ID number

Curse ID of the current user.

Source:

Methods

username(callback)

Get the name of the curse account for this user (asynchronously).

Parameters:
Name Type Description
callback function

Callback: (errors, username) => {}.

  • errors is null or undefined when function ends correctly.
  • username is a string for the curse username of this User.
Source: