Ask coding questions

← Back to all posts
Why does my bot not join discord voice channel
IceyAyrton (4)

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

Comments
hotnewtop
RYANTADIPARTHI (6047)

it seems you are trying to use strip incorrectly. Try fixing that

19wintersp (1143)

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.

IceyAyrton (4)

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

19wintersp (1143)

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

19wintersp (1143)

@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.

IceyAyrton (4)

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