mirror of
https://github.com/danbulant/discord.js
synced 2026-07-06 19:50:55 +00:00
Webpack build for branch master: 4955b1ce5f
This commit is contained in:
parent
4283d8720b
commit
a6940592be
2 changed files with 3 additions and 3 deletions
|
|
@ -12756,8 +12756,8 @@ class MessageCollector extends Collector {
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
postCheck() {
|
postCheck() {
|
||||||
if (this.collected.size >= this.options.max) return 'limit';
|
if (this.options.max && this.collected.size >= this.options.max) return 'limit';
|
||||||
else if (this.options.maxProcessed && this.received === this.options.maxProcessed) return 'processedLimit';
|
if (this.options.maxProcessed && this.received === this.options.maxProcessed) return 'processedLimit';
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
2
discord.master.min.js
vendored
2
discord.master.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue