SudhanPlayz / Discord-MusicBot

An advanced discord music bot, supports Spotify, Soundcloud, YouTube with Shuffling, Volume Control and Web Dashboard with Slash Commands support!
https://musicbot.darrenofficial.com
Other
2.92k stars 2.84k forks source link

fix(deps): update dependency @discordjs/rest to v2 #1297

Closed renovate[bot] closed 3 weeks ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@discordjs/rest (source) ^1.5.0 -> ^2.0.0 age adoption passing confidence

Release Notes

discordjs/discord.js (@​discordjs/rest) ### [`v2.2.0`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/rest/CHANGELOG.md#discordjsrest220---2023-11-17) [Compare Source](https://togithub.com/discordjs/discord.js/compare/@discordjs/rest@2.1.0...@discordjs/rest@2.2.0) #### Bug Fixes - Minify mainlib docs json ([#​9963](https://togithub.com/discordjs/discord.js/issues/9963)) ([4b88306](https://togithub.com/discordjs/discord.js/commit/4b88306dcb2b16b840ec61e9e33047af3a31c45d)) #### Features - Present x-ratelimit-scope for 429s hit ([#​9973](https://togithub.com/discordjs/discord.js/issues/9973)) ([6df233d](https://togithub.com/discordjs/discord.js/commit/6df233de14e343578fdee3c99a85494e898c7ecc)) #### Typings - Use wrapper utilities ([#​9945](https://togithub.com/discordjs/discord.js/issues/9945)) ([4bc1dae](https://togithub.com/discordjs/discord.js/commit/4bc1dae36f01649127774c40b14e778d65cf25c5)) ### [`v2.1.0`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/rest/CHANGELOG.md#discordjsrest210---2023-11-12) [Compare Source](https://togithub.com/discordjs/discord.js/compare/@discordjs/rest@2.0.1...@discordjs/rest@2.1.0) #### Bug Fixes - **REST:** Strip webhook tokens ([#​9723](https://togithub.com/discordjs/discord.js/issues/9723)) ([cf49f40](https://togithub.com/discordjs/discord.js/commit/cf49f405b0a8e565d5766e774cd57c9ae2184591)) #### Documentation - Fix "its" typo ([#​9825](https://togithub.com/discordjs/discord.js/issues/9825)) ([c50809e](https://togithub.com/discordjs/discord.js/commit/c50809e20648cacea99f5450e8073d960ff8aa39)) - **create-discord-bot:** Support bun in create-discord-bot ([#​9798](https://togithub.com/discordjs/discord.js/issues/9798)) ([7157748](https://togithub.com/discordjs/discord.js/commit/7157748fe3a69265896adf0450cd3f37acbcf97b)) #### Features - Expose Retry-After and sublimit timeouts in RatelimitData ([#​9864](https://togithub.com/discordjs/discord.js/issues/9864)) ([81e7866](https://togithub.com/discordjs/discord.js/commit/81e7866903b22a9b547825698397a5fd7ff1a533)) - **CDN:** Support emoji size ([#​9787](https://togithub.com/discordjs/discord.js/issues/9787)) ([778df45](https://togithub.com/discordjs/discord.js/commit/778df451663d04cd1fb5818ef4dcdd01a7b90cc1)) ### [`v2.0.1`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/rest/CHANGELOG.md#discordjsrest201---2023-08-17) [Compare Source](https://togithub.com/discordjs/discord.js/compare/@discordjs/rest@2.0.0...@discordjs/rest@2.0.1) #### Documentation - Update Node.js requirement to 16.11.0 ([#​9764](https://togithub.com/discordjs/discord.js/issues/9764)) ([188877c](https://togithub.com/discordjs/discord.js/commit/188877c50af70f0d5cffb246620fa277435c6ce6)) ### [`v2.0.0`](https://togithub.com/discordjs/discord.js/blob/HEAD/packages/rest/CHANGELOG.md#discordjsrest200---2023-07-31) [Compare Source](https://togithub.com/discordjs/discord.js/compare/@discordjs/rest@1.7.1...@discordjs/rest@2.0.0) #### Features - No-de-no-de, now with extra buns ([#​9683](https://togithub.com/discordjs/discord.js/issues/9683)) ([386f206](https://togithub.com/discordjs/discord.js/commit/386f206caf74a04c426799af9796ca96dcb37056)) - **BREAKING CHANGE:** The REST and RequestManager classes now extend AsyncEventEmitter from `@vladfrangu/async_event_emitter`, which aids in cross-compatibility between Node, Deno, Bun, CF Workers, Vercel Functions, etc. - **BREAKING CHANGE:** DefaultUserAgentAppendix has been adapted to support multiple different platforms (previously mentioned Deno, Bun, CF Workers, etc) - **BREAKING CHANGE:** the entry point for `@discordjs/rest` will now differ in non-node-like environments (CF Workers, etc.) - **Co-authored-by:** Suneet Tipirneni <77477100+suneettipirneni@users.noreply.github.com> - **Co-authored-by:** Jiralite <33201955+Jiralite@users.noreply.github.com> - **Co-authored-by:** suneettipirneni - User avatar decorations ([#​8914](https://togithub.com/discordjs/discord.js/issues/8914)) ([8d97017](https://togithub.com/discordjs/discord.js/commit/8d9701745840e23854e8f0b057d21cb10e7d1d54)) - Support new username system ([#​9512](https://togithub.com/discordjs/discord.js/issues/9512)) ([1ab60f9](https://togithub.com/discordjs/discord.js/commit/1ab60f9da4d6b7ea144fa05b97b029a4bfaeede2)) #### Refactor - **REST:** Remove double classing ([#​9722](https://togithub.com/discordjs/discord.js/issues/9722)) ([8f4256d](https://togithub.com/discordjs/discord.js/commit/8f4256db8a52ac08359d0b3436f41b641ac4e382)) - **BREAKING CHANGE:** `REST` and `RequestManager` have been combined, most of the properties, methods, and events from both classes can now be found on `REST` - **BREAKING CHANGE:** `REST#raw` has been removed in favor of `REST#queueRequest` - **BREAKING CHANGE:** `REST#getAgent` has been removed in favor of `REST#agent` - chore: update for /rest changes - **rest:** Switch api to fetch-like and provide strategies ([#​9416](https://togithub.com/discordjs/discord.js/issues/9416)) ([cdaa0a3](https://togithub.com/discordjs/discord.js/commit/cdaa0a36f586459f1e5ede868c4250c7da90455c)) - **BREAKING CHANGE:** NodeJS v18+ is required when using node due to the use of global `fetch` - **BREAKING CHANGE:** The raw method of REST now returns a web compatible `Respone` object. - **BREAKING CHANGE:** The `parseResponse` utility method has been updated to operate on a web compatible `Response` object. - **BREAKING CHANGE:** Many underlying internals have changed, some of which were exported. - **BREAKING CHANGE:** `DefaultRestOptions` used to contain a default `agent`, which is now set to `null` instead.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

coderabbitai[bot] commented 2 months ago

[!IMPORTANT]

Auto Review Skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)
Tips ### Chat There are 3 ways to chat with [CodeRabbit](https://coderabbit.ai): - Review comments: Directly reply to a review comment made by CodeRabbit. Example: - `I pushed a fix in commit .` - `Generate unit testing code for this file.` - `Open a follow-up GitHub issue for this discussion.` - Files and specific lines of code (under the "Files changed" tab): Tag `@coderabbitai` in a new review comment at the desired location with your query. Examples: - `@coderabbitai generate unit testing code for this file.` - `@coderabbitai modularize this function.` - PR comments: Tag `@coderabbitai` in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples: - `@coderabbitai generate interesting stats about this repository and render them as a table.` - `@coderabbitai show all the console.log statements in this repository.` - `@coderabbitai read src/utils.ts and generate unit testing code.` - `@coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.` Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Additionally, you can add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - Please see the [configuration documentation](https://docs.coderabbit.ai/guides/configure-coderabbit) for more information. - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json` ### Documentation and Community - Visit our [Documentation](https://coderabbit.ai/docs) for detailed information on how to use CodeRabbit. - Join our [Discord Community](https://discord.com/invite/GsXnASn26c) to get help, request features, and share feedback. - Follow us on [X/Twitter](https://twitter.com/coderabbitai) for updates and announcements.
renovate[bot] commented 3 weeks ago

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 2.x releases. But if you manually upgrade to 2.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.