Skip to content
Charbel Habchy edited this page May 22, 2019 · 4 revisions

#2 - Installing Discord.py

You will need Discord.py in order to use the Python language to communicate with the Discord API.

Installing without Voice Support 🔇

If you don't plan on adding voice support (music or sfx) to your bot please run the command below in a Command Prompt window.

python3 -m pip install -U discord.py

Installing with Voice Support 🔊

If you plan on adding voice support (music or sfx) to your your bot please run the command below in a Command Prompt window.

python3 -m pip install -U discord.py[voice]

I would recommend the one with voice support so you have it just in case you need it. If you are not sure if you have discord.py run the prefered command just in case, there is no harm in doing so.

If you type one of the commands and it says:

'python3' is not recognized as an internal or external command,
operable program or batch file.

Just replace python3 with python.

Please continue to Step 3 if everything is done correctly in this step.


❓ If you are stuck on Step 2 please join the support server and ask in the #python channel for help.

Join our support server. Support

Clone this wiki locally