How to Create a Discord Music Bot [Python]

preview_player
Показать описание


____________
USEFUL LINKS & DOCUMENTATIONS:

̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅

____________
OTHER TUTORIALS:

̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅

____________
OTHER MEDIA:

̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅ ̅
Рекомендации по теме
Комментарии
Автор

quik note he did this : C:\ffmpeg\bin

this is not correct because he renamed the bin folder to ffmpeg keep this in mind

so do this instead C:\ffmpeg\

FlockersDesign
Автор

Great tutorial, thanks a bunch, hope you find friends.

luboisfat
Автор

for some reason the bot doesn't joins the channel there are to problems or errors can somebody help me

piguinos
Автор

I did everything as it should be but the bot does not want to join the voice channel

Jsjdndne
Автор

Hey, so I tried to implement this system into an existing discord bot with minimal modules and when i try to play soemthing on discord, it says in the terminal "ffmpeg process 24 should have terminated with a return code of -9"

mega
Автор

had to make a few adjustments and add some stuff but it worked! could you maybe do a tutorial how to make a queue system so that it can load and ready more songs as 1 is playing?

frzzy
Автор

I just realized you barely have any comments or likes and I have on idea why, this is something I've been trying to do for quite a while and gave up every single time until I came across your video. Literally 30? 40? mins of work and everything just worked without any hiccups.

The only one thing I had a question on was what if I wanted to run this one the cloud? everything works as it should except for when I try to play a song, it gives me an error message of not having FFMPEG, which I don't because I don't have FFMpeg installed on the cloud. Is the way I would combat that just simply installing ffmpeg and following what you did at 6:10? (linking the directory) also, if its relevant, the cloud I would be using is googles and I think its linux based so I'm not sure if that would interfere with the process in any way

shineori
Автор

how would I turn this into a cog function with a / slash command instead of the ? prefix you have

Subzerox
Автор

I keep getting a "source must be an AudioSource not FFmpegPCMAudio" error when I try to play youtube audio or a separate, already downloaded, .mp3 file... Any thoughts?

bryanmantell
Автор

Donwloading webpage
'url'
update: now it says ffmpeg process successfully terminated with the return code of 1
but no music was played in the bot

NikO-jpvs
Автор

my bot does not play the music it just shows the music and after that I should play it manually, also it doesn't stop the song nor resume it

زقم-صي
Автор

can you make a tutorial there you can like add songs in a queue?

milliestan
Автор

tried to use ?play (link) command, but in terminal of VS it says: “ffmpeg process 520 should have terminated with a return code of -9.”

leventekalocsai
Автор

How do I upload the bot to a hosting with FFmpeg included?

nchxz
Автор

Bro, I'm currently having an audio problem with my bot. I use the FFmpegPCMAudio() function to play a song on my bot, with the source file downloaded first (not the stream url). I have a problem with the audio quality of the bot that is not clear, sometimes it breaks, sometimes it's too fast, sometimes it's too slow. My bot is hosted on a DigitalOcean server with a 1/1 configuration. The internet server connection is quite fast, but the audio streaming is also not smooth. Is there any solution for this? I've googled this solution, but never found an answer to this problem 🥲

herbertendrian
Автор

my bot could join voice channel and send back video info but no audio, terminal says: 'VoiceClient' object does not support item assignment.

brannn
Автор

Good morning, I have a problem that I still can't solve and that is that the code and the bot work, but the music cannot be heard, could you please help me?

JhonDaid_JD
Автор

I got an issue because the ffmpeg was not found even tho I set the directory to C:\ffmpeg\ mind helping me out?

uniquename
Автор

I have a problem the bot joins but not play the video the erorr is 'VoiceClient' object does not support item assignment

xarkata
Автор

i keep getting this error
[youtube] C2gSvt0LNSs: Downloading webpage
'dict' object is not callable

Leonz