UserNoteManager
classe · Source
Manages API methods for Client and stores their cache.
Extends: BaseManager
Properties
cache
cache: Collection<Snowflake, string>
Cache User Note Source
client
client: Client
The client that instantiated this Manager Source
Methods
fetch
async fetch(user: UserResolvable, options?: BaseFetchOptions): Promise<string>
Obtains a user from Discord, or the user cache if it's already available. Parameters
| Name | Type | Description |
|---|---|---|
user | UserResolvable | The user to fetch |
options? | BaseFetchOptions | Additional options for this fetch |
Returns: Promise<string>Source