Fix ffmeta

This commit is contained in:
Nexus 2024-02-06 23:07:30 +00:00
parent 516509e48f
commit e684c4d44a

View file

@ -27,9 +27,10 @@ class FFMeta(commands.Cog):
url, url,
stdout=asyncio.subprocess.PIPE, stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE,
text=True
) )
stdout, stderr = await process.communicate() stdout, stderr = await process.communicate()
stdout = stdout.decode("utf-8", "replace")
stderr = stderr.decode("utf-8", "replace")
paginator = commands.Paginator(prefix="```", suffix="```") paginator = commands.Paginator(prefix="```", suffix="```")
for line in stdout: for line in stdout: