performanceiop.blogg.se

Python ffmpeg discord
Python ffmpeg discord







python ffmpeg discord python ffmpeg discord python ffmpeg discord

I thought I installed FFmpeg which is the thingy which makes the bot play audio I believe, the way I installed it was running the following command: pip install ffmpeg If ('$music.start'): voicechannel = (, name ='Music') vc = await nnect() vc.play(discord.FFmpegPCMAudio('music.mp4'), executable ='C:/path/ffmpeg.I followed a Youtube Tortual on how to make a music bot, and every piece of code made sense, there is just one problem. Raise ClientException(executable + ' was not found.') from Noneĭ: ffmpeg was not found.

python ffmpeg discord

Self._process = self._spawn_process(args, **kwargs)įile "C:\Users\Lou\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ player.py ", line 147, in _spawn_process Super()._init_(source, executable=executable, args=args, **subprocess_kwargs)įile "C:\Users\Lou\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ player.py ", line 138, in _init_ Vc.play (discord.FFmpegPCMAudio('jojo.mp4'),executable='C:/path/ffmpeg.exe', after=lambda e: print('done', e))įile "C:\Users\Lou\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ player.py ", line 225, in _init_ If you have some time to type a comment, could you help me on that one ?įile "C:\Users\Lou\AppData\Local\Programs\Python\Python38-32\lib\site-packages\discord\ client.py ", line 343, in _run_eventįile "c:\Users\Lou\Desktop\Python Bot\ main.py ", line 68, in on_message I tried using ffmpeg, adding it to path, just giving the file path without ffmpeg. Hello, I'm currently trying to make a discord bot using discord.py, and one of the features I'm trying to implement is playing music in voice channels.









Python ffmpeg discord