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 to store the emoji in the datasource
id of the emoji (this does not refer to the name of the emoji)
id of the guild this emoji belongs to
prepared key
Filter for emojis by providing a filter function which returns true upon success and false otherwise
filter function to use for the filtering
id of the guild the emojis searched belong to
array of bound emoji caches
Find an emoji by providing a filter function which returns true upon success and false otherwise
filter function to use for filtering for a single emoji
id of the guild the emojis searched belong to
bound emoji cache
Get an emoji via id
id of the emoji (this does not refer to the name of the emoji)
id of the guild this emoji belongs to
EmojiCache with bound object or null if nothing was found
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 an emoji from the cache
id of the emoji (this does not refer to the name of the emoji)
id of the guild this emoji belongs to
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 a emoji
id of the emoji (this does not refer to the name of the emoji)
id of the guild this emoji belongs to
new data of the emoji, that will get merged with the old data
returns a bound EmojiCache
guild id bound to this cache
Create a new EmojiCache
This class is automatically instantiated by RainCache
storage engine to use for this cache
Optional, may be used to bind an emoji object to the cache
Generated using TypeDoc
Cache responsible for storing emoji related data