mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
fix: TypeError in mixin function (#2506)
This commit is contained in:
parent
8b83553462
commit
95b531742a
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ class Util {
|
|||
const func = Collection.prototype[prop];
|
||||
if (prop === 'constructor' || typeof func !== 'function') return;
|
||||
store.prototype[prop] = function(...args) {
|
||||
return func.apply(this._filtered, ...args);
|
||||
return func.apply(this._filtered, args);
|
||||
};
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue