|
2 | 2 |
|
3 | 3 | So you want to start playing some 🎵tunes🎶 in voice channels? Well let's get that going for you.
|
4 | 4 |
|
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. |
9 | 40 |
|
10 |
| -Then you'll need to download [FFmpeg](https://ffmpeg.org) and place it in your project directory or PATH. |
11 | 41 |
|
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. |
13 | 43 |
|
14 | 44 | ```python
|
15 | 45 | import interactions
|
|
0 commit comments