mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 18:43:31 +01:00
started working on bug fixes and test scripts
This commit is contained in:
@@ -27,8 +27,8 @@ var Cache = (function (_Array) {
|
||||
return found;
|
||||
};
|
||||
|
||||
Cache.prototype.has = function has(key, value) {
|
||||
return !!this.get(key, value);
|
||||
Cache.prototype.has = function has(object) {
|
||||
return !!this.get(this.discrim, object[this.discrim]);
|
||||
};
|
||||
|
||||
Cache.prototype.getAll = function getAll(key, value) {
|
||||
@@ -106,4 +106,4 @@ var Cache = (function (_Array) {
|
||||
})(Array);
|
||||
|
||||
exports["default"] = Cache;
|
||||
module.exports = exports["default"];
|
||||
module.exports = exports["default"];
|
||||
Reference in New Issue
Block a user