Androz2091 / discord-player

🎧 Complete framework to simplify the implementation of music commands using discord.js v14
https://discord-player.js.org/
MIT License
589 stars 192 forks source link

feat(BaseExtractor): add protocols support #1863

Closed twlite closed 10 months ago

twlite commented 10 months ago

Changes

This PR adds support for protocol list, which is declared by the registered extractors. The behavior is similar to lavalink. For example, if you need to make youtube search, you can use ytsearch:QUERY_VALUE, which will be routed to the extractor that supports this protocol. If no extractor is found, discord-player switches back to old behavior.

Default extractors such as:

support protocols.

Status

vercel[bot] commented 10 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment | Name | Status | Preview | Updated (UTC) | | :--- | :----- | :------ | :------ | | **discord-player-website** | ⬜️ Ignored ([Inspect](https://vercel.com/androz2091/discord-player-website/FntSyUyTyQkH6udmMgDTTMkxS23u)) | | Oct 31, 2023 5:28pm |