How can I drag and drop these files into my hosting account so that I can play music in my bot?

Posted by user_2hhsnj in general.

How can I drag and drop these files into my hosting account so that I can play music in my bot?

Replies

wolfy

.exe files won't work because Wispbyte runs on linux and not Windows.

user_2hhsnj

So how do I use ffmpeg for a music bot?

wolfy

Both NodeJS and Python should have ffmpeg packages

user_2hhsnj

I checked it on my computer and everything was fine, but when I tried to play music on wispbyte, I got this error [20:05:09]Unclosed connection [20:05:09]client connection: Connection<ConnectionKey(host='finland14066.discord.media', port=443, is ssl=True, ssl=True, proxy=None, proxy auth=None, proxy headers hash=None) [20:05:09]Unclosed connection [20:05:09]client connection: Connection<ConnectionKey(host='finland14066.discord.media', port=443, is ssl=True, ssl=True, proxy=None, proxy auth=None, proxy headers hash=None) [20:05:09]Unclosed connection [20:05:09]client connection: Connection<ConnectionKey(host='finland14066.discord.media', port=443, is ssl=True, ssl=True, proxy=None, proxy auth=None, proxy headers hash=None) [20:05:09]Ignoring exception in on interaction [20:05:09]Traceback (most recent call last): [20:05:09]File "/home/container/.local/lib/python3.11/site packages/disnake/client.py", line 733, in run event [20:05:09]await coro( args, kwargs) [20:05:09]File "/home/container/cogs/music.py", line 644, in router [20:05:09]await self.start playback(interaction, guild id, track["url"], track["title"], track id=track["id"]) [20:05:09]File "/home/container/cogs/music.py", line 430, in start playback [20:05:09]await self. play source(session, url, title, seek seconds=0) [20:05:09]File "/home/container/cogs/music.py", line 464, in play source [20:05:09]session.voice client.play(source, after=after play) [20:05:09]File "/home/container/.local/lib/python3.11/site packages/disnake/voice client.py", line 573, in play [20:05:09]raise ClientException("Not connected to voice.") [20:05:09]disnake.errors.ClientException: Not connected to voice. [20:05:09]Unclosed connection [20:05:09]client connection: Connection<ConnectionKey(host='finland14066.discord.media', port=443, is ssl=True, ssl=True, proxy=None, proxy auth=None, proxy headers hash=None) [20:05:09]Unclosed connection [20:05:09]client connection: Connection<ConnectionKey(host='finland14066.discord.media', port=…

astror

As far as I know the "Unclosed connection" warnings suggest the HTTP connections to Discord's media servers aren't being properly closed, which is a known issue with disnake/discord.py voice.

Wispbyte Community Forum