Add ids to the index of a namespace
ids to add
id of the parent object of the index
Bind a guild id to the cache
id of the guild that should be bound to this cache
Bind an object to the cache instance, you can read more on binding on the landing page of the documentation
Object to bind to this cache instance
Build a unique key for storing member data
id of the user belonging to the member
id of the guild the member+
Filter for members by providing filter function which returns true upon success and false otherwise
Filter function
guild id the member is in
Filter through the collection of members and return the first match
Filter function
guild id the member is in
Get a member via id
id of the member
id of the guild of the member, defaults to the bound guild of the cache
bound member cache with properties of the member or null if no member is cached
Get the number of elements that are within an index
id of the parent object of the index
Get all members from an index
id of the parent object of the index
Check if an id is a member of an index
id to check
id of the parent object of the index
returns true if it is a part of the index, false otherwise
Remove a member from the cache
id of the member
id of the guild of the member, defaults to the bound guild of the cache
Remove an id from the index
id to be removed
id of the parent object of the index
Delete an index
id of the parent object of the index
Delete keys from data if necessary based on RainCache structureDefs options and return the cleaned data
The data to possibly delete object entries from
Update data of a guild member
id of the member
id of the guild of the member, defaults to the bound guild of the cache
updated guild member data
Creates a new MemberCache
This class is automatically instantiated by RainCache
storage engine to use
user cache instance
Bind an object to this instance
Generated using TypeDoc
Cache responsible for storing guild members