mirror of
https://github.com/danbulant/discord.js
synced 2026-06-23 08:42:02 +00:00
Webpack build for branch shard-overhaul: 26b28813a8
This commit is contained in:
parent
83922fbbb8
commit
0214dfb1ae
2 changed files with 13 additions and 1 deletions
|
|
@ -1644,6 +1644,18 @@ class Util {
|
|||
|
||||
return dec;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a Promise that resolves after a specified duration.
|
||||
* @param {number} ms How long to wait before resolving (in milliseconds)
|
||||
* @returns {Promise<void>}
|
||||
* @private
|
||||
*/
|
||||
static delayFor(ms) {
|
||||
return new Promise(resolve => {
|
||||
setTimeout(resolve, ms);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Util;
|
||||
|
|
|
|||
2
discord.shard-overhaul.min.js
vendored
2
discord.shard-overhaul.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue