diff --git a/package.json b/package.json index b69ab0b..1a61767 100644 --- a/package.json +++ b/package.json @@ -74,7 +74,7 @@ "@typescript-eslint/eslint-plugin": "^4.28.1", "@typescript-eslint/parser": "^4.28.1", "discord-api-types": "^0.18.1", - "discord.js": "^13.0.0-dev.3a718d8.1625270632", + "discord.js": "^13.0.0-dev.56b5b7e.1625313788", "eslint": "^7.30.0", "jsdoc-babel": "^0.5.0", "prettier": "^2.3.2", diff --git a/src/utils/Util.ts b/src/utils/Util.ts index 27d07b7..471039c 100644 --- a/src/utils/Util.ts +++ b/src/utils/Util.ts @@ -92,7 +92,7 @@ class Util { * @returns {Promise} */ static wait(time: number) { - return new Promise((r) => setTimeout(r, time).unref()); + return new Promise((r) => setTimeout(r, time)); } static get noop() { diff --git a/yarn.lock b/yarn.lock index 09be7df..0c76002 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2030,10 +2030,10 @@ discord-ytdl-core@^5.0.4: dependencies: prism-media "^1.2.9" -discord.js@^13.0.0-dev.3a718d8.1625270632: - version "13.0.0-dev.fe6cc0c.1625227356" - resolved "https://registry.yarnpkg.com/discord.js/-/discord.js-13.0.0-dev.fe6cc0c.1625227356.tgz#1fafefe671758898afd3c092cef6447286d2ca27" - integrity sha512-m9oY7nlAX6RhZYxTzg9s5JHGdkm6Fk+XKCHj2qeD7pG+GOmFV9mrqVBt5xZq4NZME81BmPASLhn0q6us4uDfJA== +discord.js@^13.0.0-dev.56b5b7e.1625313788: + version "13.0.0-dev.56b5b7e.1625313788" + resolved "https://registry.yarnpkg.com/discord.js/-/discord.js-13.0.0-dev.56b5b7e.1625313788.tgz#32931b0dd7fe25b32aec13e230497fdd1b3bee0d" + integrity sha512-D1d0fqjwa6ktn4yyZOE83Q/1sTl8ZNgJ95+cMUlK+FZBIe9G3nLHpHcCg+ph+SJIvQKUJubpzk2Yhbm/oJ1EvA== dependencies: "@discordjs/builders" "^0.1.1" "@discordjs/collection" "^0.1.6"