docs: add notes to proxy example
This commit is contained in:
parent
751df78607
commit
c1d2aeded5
2 changed files with 8 additions and 1 deletions
|
@ -37,6 +37,7 @@ $ npm install --save @discordjs/opus
|
|||
- Lyrics 📃
|
||||
- Multiple sources support ✌
|
||||
- Play in multiple servers at the same time 🚗
|
||||
- Does not inject anything to discord.js or your discord.js client
|
||||
|
||||
## [Documentation](https://discord-player.js.org)
|
||||
|
||||
|
@ -193,6 +194,9 @@ const player = new Player(client, {
|
|||
});
|
||||
```
|
||||
|
||||
> You may also create a simple proxy server and forward requests through it.
|
||||
> See **[https://github.com/http-party/node-http-proxy](https://github.com/http-party/node-http-proxy)** for more info.
|
||||
|
||||
### Custom stream Engine
|
||||
|
||||
Discord Player by default uses **[node-ytdl-core](https://github.com/fent/node-ytdl-core)** for youtube and some other extractors for other sources.
|
||||
|
|
|
@ -13,4 +13,7 @@ const player = new Player(client, {
|
|||
requestOptions: { agent }
|
||||
}
|
||||
});
|
||||
```
|
||||
```
|
||||
|
||||
> You may also create a simple proxy server and forward requests through it.
|
||||
> See **[https://github.com/http-party/node-http-proxy](https://github.com/http-party/node-http-proxy)** for more info.
|
Loading…
Reference in a new issue