Skip to content
← Back to Community
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

Voters
Profile icon
TeguhPrayitno
Profile icon
VincentWijaya6
Profile icon
maax1
Profile icon
RixTheTyrunt
Profile icon
DanhAn2
Profile icon
victorsuttorp
Profile icon
zroonine
Profile icon
NotYourLeXis
Profile icon
ViperZero
Profile icon
polish-penguin-dev
Comments
hotnewtop
Profile icon
Coder100

Hi! You are in luck, try this repl.it tutorial:
https://repl.it/talk/learn/OPUS-SUPPORT-FOR-DISCORD-MUSIC-BOTS/37015

Profile icon
CoolJames1610

@Coder100
yes but it doesnt tell me how

Profile icon
Coder100
Profile icon
CoolJames1610

@Coder100
ok thanks

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").