The cache limit of this DataStore
The guild this store belongs to.
The first item in this Cache
The first key of this cache
The first value of this cache
The last item in this cache
The last key of this cache
The last value of this cache
Defines the extensibility of DataStores
Adds a new structure to this DataStore
The data packet to add
Adds a user to the guild's bans list and optionally deletes previous messages from that user
The user ID to ban from the guild.
Returns a shallow clone of this Cache
Naive equality compare function
The cache to compare this against
Retrieves an individual Ban from the API.
The options containing the User's ID
Retrieves all bans for this guild from the API, returning all values as a {@link Cache} without populating the store.
The options without an User's ID.
Retrieves all bans for this guild from the API, populating the store and returning itself.
The options without an User's ID.
Returns a new filtered Cache based on the filter function
Function used to determine what entries are in the new Cache
Optional binding for the fn param
Reduces this cache into a singularity
The function to determine how this Cache is reduced
The initial value
Optional binding for the fn param
Remove a user from the guild's bans list
The user ID to unban from the guild.
The additional request options.
Resolves data into Structures
The data to resolve
Resolves data into ids
The data to resolve
Sets a value to this DataStore taking into account the cache limit.
The key of the value you are setting
The value for the key you are setting
The JSON representation of this object.
Generated using TypeDoc
The store for bans.
0.0.1