diff --git a/src/cogs/ffmeta.py b/src/cogs/ffmeta.py index 8d3ab99..9adae24 100644 --- a/src/cogs/ffmeta.py +++ b/src/cogs/ffmeta.py @@ -49,7 +49,7 @@ class FFMeta(commands.Cog): stdout, stderr = await process.communicate() if as_json: return json.loads(stdout.decode()) - return stdout.decode(errors="replace") + return stderr.decode(errors="replace") @commands.slash_command() async def ffprobe(self, ctx: discord.ApplicationContext, url: str = None, attachment: discord.Attachment = None):