Build a map object which is bound to the channelMapCache object
Id of the guild/user
Array of channel ids
type of the map
Build a unique key id for the channel map
Id of the guild/user
Type of the map
Checks for duplicate ids in the provided arrays
Array of old ids
Array of new ids
Array of non duplicated Ids
Remove old channels from the array of mapped channels
Array of old channels
Array of new channels
Array of filtered channels
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 an id consisting of $namespace.$id
id to append to namespace
constructed id
Get a ChannelMap via id of the guild or the user
Id of the user or the guild
Type of the map to get
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 ChannelMap
Id of the user or the guild
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
Upsert a ChannelMap
Id of the user or the guild
Array of channel ids
Type of the map to upsert
Remove old channels that don't exist anymore
guild id bound to this cache
Create a new ChannelMapCache
This class is automatically instantiated by RainCache
storage engine to use for this cache
Optional, may be used to bind the map object to the cache
Generated using TypeDoc
Cache for providing a guild/user -> channels map