Readonly
cacheStatic
defaultShared default max size for all managers (can be changed globally).
Adds a raw object to the cache, constructing the holdable class. Automatically evicts oldest entries if the max size is exceeded.
Optional
avatar?: Optional
nickname?: null | stringOptional
roles?: string[]Optional
timeout?: null | stringRemove an entry by id.
ban selected member in the server
The member to ban
Optional
reason: stringthe reason for the ban
A promise that resolves when the member is banned
edit selected member in the server
The member to edit
The options to edit the member with
Optional
avatar?: stringOptional
nickname?: stringOptional
roles?: string[]A promise that resolves when the member is edited
fetch a member from the server
The member to fetch
A promise that resolves with the fetched member
fetch a member from the server
A promise that resolves with the fetched member
kick selected member in the server
The member to kick
A promise that resolves when the member is kicked
Optional
avatar?: Optional
nickname?: null | stringOptional
roles?: string[]Optional
timeout?: null | stringOptional
avatar?: Optional
nickname?: null | stringOptional
roles?: string[]Optional
timeout?: null | stringresolves a member from a string or a member object
The member to resolve
The id of the member or null if it cannot be resolved
Adjust the maximum size for this manager at runtime.
unban selected member in the server
The member to unban
A promise that resolves when the member is unbanned
Insertion ordered cache of items this manager holds.