mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 10:03:40 +01:00
Fix responding with raw embed array
This commit is contained in:
parent
03325a266f
commit
8d5744c23d
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue