Add a guild to the guild index
ids of the guilds
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
Filter through the collection of guilds
Filter function
array of bound guild caches
Filter through the collection of guilds and return the first match
Filter function
returns a bound guild cache
Retrieves a guild via id
Discord id of the guild
Returns either a Guild Object or null if the guild does not exist.
Get the number of guilds that are currently cached
Number of guilds currently cached
Get all guild ids currently indexed
array of guild ids
Check if a guild is indexed alias cached
id of the guild
True if this guild is cached and false if not
Removes a guild and associated elements from the cache.
id of the guild to remove
Remove a guild from the guild index
id of the guild
Remove the guild index, you should probably not call this at all :<
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 guild object
id of the guild
data received from the event
returns a bound guild cache
guild id bound to this cache
Create a new GuildCache
This class is automatically instantiated by RainCache
Storage engine to use for this cache
Instantiated ChannelCache class
Instantiated RoleCache class
Instantiated MemberCache class
Instantiated EmojiCache class
Instantiated PresenceCache class
Instantiated ChannelMap class
Optional, may be used to bind a guild object to the cache
Generated using TypeDoc
Cache responsible for guilds