new UserManager(client)
Parameters:
Name | Type | Description |
---|---|---|
client |
Client | The client being used |
- Source:
Methods
(async) fetch(id) → {Promise.<User>}
Fetch a user from their id
Parameters:
Name | Type | Description |
---|---|---|
id |
string | The id of user being fetched. This is NOT the pterodactyl id |
- Source:
Returns:
Fetched user
- Type
- Promise.<User>
(async) fetchAll() → {Promise.<Collection.<string, User>>}
Fetch all users
- Source:
Returns:
A Collection of users mapped with their id
- Type
- Promise.<Collection.<string, User>>