mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 01:31:29 +00:00
Add note about uws in readme (#929)
This commit is contained in:
parent
6afd80cf53
commit
1aed3de647
1 changed files with 1 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ Usability and performance are key focuses of discord.js, and it also has nearly
|
||||||
Without voice support: `npm install discord.js --save`
|
Without voice support: `npm install discord.js --save`
|
||||||
With voice support ([node-opus](https://www.npmjs.com/package/node-opus)): `npm install discord.js node-opus --save`
|
With voice support ([node-opus](https://www.npmjs.com/package/node-opus)): `npm install discord.js node-opus --save`
|
||||||
With voice support ([opusscript](https://www.npmjs.com/package/opusscript)): `npm install discord.js opusscript --save`
|
With voice support ([opusscript](https://www.npmjs.com/package/opusscript)): `npm install discord.js opusscript --save`
|
||||||
|
With fast websockets ([uws](https://www.npmjs.com/package/uws)) `npm install discord.js uws --save`
|
||||||
|
|
||||||
The preferred audio engine is node-opus, as it performs significantly better than opusscript. When both are available, discord.js will automatically choose node-opus.
|
The preferred audio engine is node-opus, as it performs significantly better than opusscript. When both are available, discord.js will automatically choose node-opus.
|
||||||
Using opusscript is only recommended for development environments where node-opus is tough to get working.
|
Using opusscript is only recommended for development environments where node-opus is tough to get working.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue