Fix responding with raw embed array

This commit is contained in:
Nexus 2024-04-14 19:48:30 +01:00
parent 03325a266f
commit 8d5744c23d
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -614,7 +614,7 @@ class OtherCog(commands.Cog):
if not embeds: if not embeds:
return await ctx.respond(":x: No images found in message.", delete_after=30) return await ctx.respond(":x: No images found in message.", delete_after=30)
else: else:
return await ctx.respond(embeds) return await ctx.respond(embeds=embeds)
@commands.message_command(name="Convert Image to GIF") @commands.message_command(name="Convert Image to GIF")
async def convert_image_to_gif(self, ctx: discord.ApplicationContext, message: discord.Message): async def convert_image_to_gif(self, ctx: discord.ApplicationContext, message: discord.Message):