mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
Add note about uws in readme (#929)
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user