#Getting the basic_voice.py example to work
1 messages · Page 1 of 1 (latest)
C:\Users\karso\program\weather_bot>py tp.py
Logged in as Nexus (alpha)#2687 (ID: 1062252587891572867)
General
Ignoring exception in command play:
Traceback (most recent call last):
File "C:\Users\karso\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\ext\commands\core.py", line 173, in wrapped
ret = await coro(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\karso\program\weather_bot\tp.py", line 82, in play
source = disnake.PCMVolumeTransformer(disnake.FFmpegPCMAudio(query))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\karso\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\player.py", line 288, in init
super().init(source, executable=executable, args=args, **subprocess_kwargs)
File "C:\Users\karso\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\player.py", line 149, in init
self._process: subprocess.Popen[bytes] = self._spawn_process(args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\karso\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\player.py", line 167, in _spawn_process
raise ClientException(f"{executable} was not found.") from None
disnake.errors.ClientException: ffmpeg was not found.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\karso\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\ext\commands\bot_base.py", line 591, in invoke
await ctx.command.invoke(ctx)
File "C:\Users\karso\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\ext\commands\core.py", line 914, in invoke
await injected(*ctx.args, **ctx.kwargs)
File "C:\Users\karso\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\ext\commands\core.py", line 182, in wrapped
raise CommandInvokeError(exc) from exc
disnake.ext.commands.errors.CommandInvokeError: Command raised an exception: ClientException: ffmpeg was not found.
Exception ignored in: <function AudioSource.del at 0x0000017DB5F58900>
Traceback (most recent call last):
File "C:\Users\karso\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\player.py", line 100, in del
self.cleanup()
File "C:\Users\karso\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\player.py", line 221, in cleanup
self._kill_process()
File "C:\Users\karso\AppData\Local\Programs\Python\Python311\Lib\site-packages\disnake\player.py", line 172, in _kill_process
proc = self._process
^^^^^^^^^^^^^
AttributeError: 'FFmpegPCMAudio' object has no attribute '_process'
C:\Users\karso\program\weather_bot>
no idea i always just made sure it was in the same folder as the bot
just move ffmpeg to the same folder?
did not work
no idea
i hate audio stuff
lol
oh
u need to add to existing path
not make a new one
I've been trying to follow step two of the dependence guide of Microsofts Project Malmo.
https://github.com/Microsoft/malmo/blob/master/doc/install_windows.md
I need to create the environment var...
Getting the basic_voice.py example to work
Ok, now im getting told that yt_dl cant download any video i send
whats the error
A properly typehinted lavalink client for discord.py, nextcord, disnake and py-cord. - GitHub - ooliver1/mafic: A properly typehinted lavalink client for discord.py, nextcord, disnake and py-cord.
nothing against the basic example
but this prob better suit ur needs
lol
Lavalink is slow, and tends to crash often
compared to YTDL? lol
i know a guy who made a js bot that used the lavalink nodes, and his bot was down every 15-30 minutes because lavalink crashed
no, the actual node went down
someone runs a decent sized bot using that lib
idk then
imma just take the easy path and stop trying to use voice client
/solved
