Skip to content

Commit c2e49e6

Browse files
committed
merge: stable into unstable (hotfix conflict resolution)
2 parents f3705e6 + 7792807 commit c2e49e6

File tree

2 files changed

+37
-7
lines changed

2 files changed

+37
-7
lines changed

docs/src/Guides/23 Voice.md

Lines changed: 36 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,44 @@
22

33
So you want to start playing some 🎵tunes🎶 in voice channels? Well let's get that going for you.
44

5-
First you're going to want to get the voice dependencies installed:
6-
```
7-
pip install dis-snek[voice]
8-
```
5+
=== ":simple-windows: Windows"
6+
7+
First you're going to want to get the voice dependencies installed:
8+
```
9+
pip install discord.py-interactions[voice]
10+
```
11+
12+
Then you'll need to download [FFmpeg](https://ffmpeg.org) and place it in your project directory or PATH.
13+
14+
Now you've got those; let's make a simple play command to get you started.
15+
16+
=== ":simple-linux: Linux"
17+
18+
First you're going to want to get the voice dependencies installed:
19+
```
20+
pip install discord.py-interactions[voice]
21+
```
22+
23+
Then you'll need to install the following packages:
24+
[libnacl](https://github.com/saltstack/libnacl), [libffi](https://github.com/libffi/libffi), and [FFmpeg](https://ffmpeg.org)
25+
26+
:simple-debian: For debian based distros:
27+
```
28+
sudo apt install ffmpeg libffi-dev libnacl-dev
29+
```
30+
:simple-archlinux: For arch based distros:
31+
```
32+
sudo pacman -S ffmpeg libffi libnacl
33+
```
34+
:simple-fedora: For fedora based distros:
35+
```
36+
sudo dnf install ffmpeg libffi-devel libsodium-devel
37+
```
38+
39+
If you get an error about "Could not find opus library," your distro may not have libopus installed. You'll need to find documentation for your distro on how to install it.
940

10-
Then you'll need to download [FFmpeg](https://ffmpeg.org) and place it in your project directory or PATH.
1141

12-
Now you've got those; let's make a simple play command to get you started.
42+
Now you've got those; let's make a simple play command to get you started.
1343

1444
```python
1545
import interactions

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "interactions.py"
3-
version = "5.0.0"
3+
version = "5.0.1"
44
description = "Easy, simple, scalable and modular: a Python API wrapper for interactions."
55
authors = [
66
"LordOfPolls <dev@lordofpolls.com>",

0 commit comments

Comments
 (0)