mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 11:40:41 +00:00
Webpack build: 2e7472bb1a
This commit is contained in:
parent
333c2510d0
commit
26057960df
2 changed files with 6 additions and 8 deletions
|
|
@ -2239,13 +2239,11 @@ exports.applyToClass = (structure, full = false) => {
|
||||||
props.push('createCollector');
|
props.push('createCollector');
|
||||||
props.push('awaitMessages');
|
props.push('awaitMessages');
|
||||||
}
|
}
|
||||||
for (const prop of props) applyProp(structure, prop);
|
for (const prop of props) {
|
||||||
|
Object.defineProperty(structure.prototype, prop, Object.getOwnPropertyDescriptor(TextBasedChannel.prototype, prop));
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
function applyProp(structure, prop) {
|
|
||||||
Object.defineProperty(structure.prototype, prop, Object.getOwnPropertyDescriptor(TextBasedChannel.prototype, prop));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/***/ },
|
/***/ },
|
||||||
/* 12 */
|
/* 12 */
|
||||||
|
|
|
||||||
6
discord.indev.min.js
vendored
6
discord.indev.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue