# Collection extends Eris.Collection
An Eris Collection, which extends a Map and provides additional utility methods useful for everyday bot development.
# Constructor
Instantiation: new Collection(baseObject, limit);
Parameter | Type | Optional | Default | Description |
---|---|---|---|---|
baseObject | Class | N/A | A base class for all items | |
limit | Number | N/A | The maximum amount of items to hold |
# Properties
# baseObject
The base class for all items that was specified when the Collection was created
Type:Class
# limit
Max number of items to hold. This property is undefined if no limit was specified for the Collection
Type:Number?
# Methods
Please reference Eris.Collection for a full method reference.