Skip to content

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

readonly

client: Client

The client that instantiated this Manager Source

Methods

fetch

async

async fetch(user: UserResolvable, options?: BaseFetchOptions): Promise<string>

Obtains a user from Discord, or the user cache if it's already available. Parameters

NameTypeDescription
userUserResolvableThe user to fetch
options?BaseFetchOptionsAdditional options for this fetch

Returns: Promise<string>Source

Unofficial software. Not affiliated with or supported by Discord.