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
feat(voice): Add info about DAVE protocol dependencies and support (#11145)
* Add info about DAVE protocol dependencies and support
Changes remade from discordjs/guide#1630 due to project moving from that repo to this one.
* remove explicit warning regarding optional dependency being optional
Co-authored-by: Almeida <[email protected]>
* style: format
---------
Co-authored-by: Almeida <[email protected]>
Co-authored-by: Jiralite <[email protected]>
Copy file name to clipboardExpand all lines: apps/guide/content/docs/voice/index.mdx
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,11 @@ title: Installation
8
8
9
9
### Barebones
10
10
11
-
To add voice functionality to your discord.js bot, you will need the `@discordjs/voice` package, as well as one of the encryption packages listed below. For example:
11
+
To add voice functionality to your discord.js bot, you will need the `@discordjs/voice` package. If your system does not support aes-256-gcm you also need one of the encryption packages listed below. For example:
12
+
13
+
<Callout>
14
+
You can verify aes-256-gcm support by running `require('node:crypto').getCiphers().includes('aes-256-gcm')`.
15
+
</Callout>
12
16
13
17
```sh tab="npm"
14
18
npm install @discordjs/voice
@@ -58,6 +62,15 @@ After this, you'll be able to play Ogg and WebM Opus files without any other dep
0 commit comments