Skip to content
Why does my bot not join discord voice channel
Profile icon
IceyAyrton

I am trying to make a discord music bot but it is not working

You are viewing a single comment. View All
Profile icon
19wintersp

Your first issue is that your call to client.run (main.py:93) is inside the stop function, and so it won't run. You should remove the indent from the start, so that there are no spaces before the code.

Profile icon
IceyAyrton

@19wintersp
i did it and it still gives me an error when i type ?play(any youtube url)

Profile icon
19wintersp

@IceyAyrton
Please can you be specific? What error do you get?

Profile icon
19wintersp

@IceyAyrton
From looking at your logs, it looks like you need to install PyNaCl. You can do this with the package manager in the IDE sidebar, or with pip install pynacl.

Profile icon
IceyAyrton

@19wintersp
YOOO THANK YOU SO MUCH MAN FINALLY IT WORKS IDK HOW TO THANK YOU MAN

Profile icon
mikedamamangan

@IceyAyrton
hi! can you do a tutorial or the final code on how did you join your bot to a voice channel?