How to create a Music Discord Bot using Python?
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
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
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
CoolJames1610
@PattanAhmed and this will work with repl?
PattanAhmed
@CoolJames1610 You can try!
RixTheTyrunt
I tried the answer of https://gist.github.com/vbe0201/ade9b80f2d3b64643d854938d40a0a2d, but my music bot shows this:
RixTheTyrunt
This works, but, the only thing it isn't working are commands ( except !t help
command works nicely )
RixTheTyrunt
My repl ( bot ) https://replit.com/@RixTheTyrunt/Rivertune?v=1
RixTheTyrunt
Note: This won't work for other users, because it uses a secret token
T-RizzleTrenton
@RixTheTyrunt Type this into the console, pip install PyNaCl, or add this into your code os.system("pip install PyNaCl").
Hi! You are in luck, try this repl.it tutorial:
https://repl.it/talk/learn/OPUS-SUPPORT-FOR-DISCORD-MUSIC-BOTS/37015
ohh, right, try this:
https://discordpy.readthedocs.io/en/latest/api.html#voice
and read this:
https://stackoverflow.com/questions/53604339/how-do-i-make-my-discord-py-bot-play-mp3-in-voice-channel
@CoolJames1610