Skip to content
Sign upLog in

How to create a Music Discord Bot using Python?

Profile icon
CoolJames1610

I really want to add music to my bot but idk how as I'm coding on repl.

Ik I have to use some opus but how do I use that to allow my bot to play music?

Thanks

You are viewing a single comment. View All
Profile icon
PattanAhmed

@CoolJames1610
Hi,
If you follow this website I hope you will make a successful Music Discord Bot using Python.
Click here and Follow this website
Check this too for short answer

Hope this helps
Please mark my answer if this helps

Profile icon
CoolJames1610

@PattanAhmed
and this will work with repl?

Profile icon
PattanAhmed

@CoolJames1610
You can try!

Profile icon
RixTheTyrunt

I tried the answer of https://gist.github.com/vbe0201/ade9b80f2d3b64643d854938d40a0a2d, but my music bot shows this:
Error

Profile icon
RixTheTyrunt

This works, but, the only thing it isn't working are commands ( except !t help command works nicely )

Profile icon
RixTheTyrunt
Profile icon
RixTheTyrunt

Note: This won't work for other users, because it uses a secret token

Profile icon
T-RizzleTrenton

@RixTheTyrunt
Type this into the console, pip install PyNaCl, or add this into your code os.system("pip install PyNaCl").