mirror of
https://github.com/danbulant/discord.js
synced 2026-06-20 07:02:00 +00:00
Webpack build for branch master: 45cc175851
This commit is contained in:
parent
620b2f258f
commit
6b65c71cc9
2 changed files with 5 additions and 5 deletions
|
|
@ -18267,9 +18267,9 @@ class Client extends EventEmitter {
|
|||
*/
|
||||
setTimeout(fn, delay, ...args) {
|
||||
const timeout = setTimeout(() => {
|
||||
fn();
|
||||
fn(...args);
|
||||
this._timeouts.delete(timeout);
|
||||
}, delay, ...args);
|
||||
}, delay);
|
||||
this._timeouts.add(timeout);
|
||||
return timeout;
|
||||
}
|
||||
|
|
@ -18479,9 +18479,9 @@ class WebhookClient extends Webhook {
|
|||
*/
|
||||
setTimeout(fn, delay, ...args) {
|
||||
const timeout = setTimeout(() => {
|
||||
fn();
|
||||
fn(...args);
|
||||
this._timeouts.delete(timeout);
|
||||
}, delay, ...args);
|
||||
}, delay);
|
||||
this._timeouts.add(timeout);
|
||||
return timeout;
|
||||
}
|
||||
|
|
|
|||
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