You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-10Lines changed: 1 addition & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,16 +44,6 @@ discord.js is a powerful [Node.js](https://nodejs.org) module that allows you to
44
44
**Node.js 14.0.0 or newer is required.**
45
45
Ignore any warnings about unmet peer dependencies, as they're all optional.
46
46
47
-
Without voice support: `npm install discord.js`
48
-
With voice support ([@discordjs/opus](https://www.npmjs.com/package/@discordjs/opus)): `npm install discord.js @discordjs/opus`
49
-
With voice support ([opusscript](https://www.npmjs.com/package/opusscript)): `npm install discord.js opusscript`
50
-
51
-
### Audio engines
52
-
53
-
The preferred audio engine is @discordjs/opus, as it performs significantly better than opusscript. When both are available, discord.js will automatically choose @discordjs/opus.
54
-
Using opusscript is only recommended for development environments where @discordjs/opus is tough to get working.
55
-
For production bots, using @discordjs/opus should be considered a necessity, especially if they're going to be running on multiple servers.
56
-
57
47
### Optional packages
58
48
59
49
-[zlib-sync](https://www.npmjs.com/package/zlib-sync) for WebSocket data compression and inflation (`npm install zlib-sync`)
@@ -63,6 +53,7 @@ For production bots, using @discordjs/opus should be considered a necessity, esp
-[bufferutil](https://www.npmjs.com/package/bufferutil) for a much faster WebSocket connection (`npm install bufferutil`)
65
55
-[utf-8-validate](https://www.npmjs.com/package/utf-8-validate) in combination with `bufferutil` for much faster WebSocket processing (`npm install utf-8-validate`)
56
+
-[@discordjs/voice](https://github.com/discordjs/voice) for interacting with the Discord Voice API
0 commit comments