new User()
User is the parent class of all Curse users we'll find here
Properties:
Name | Type | Description |
---|---|---|
client |
Client | |
ID |
number | Curse ID of the current user. |
Methods
username(callback)
Get the name of the curse account for this user (asynchronously).
Parameters:
Name | Type | Description |
---|---|---|
callback |
function | Callback: (errors, username) => {}.
|