I cannot seem to get my discord bot to send a file embed.

I have been trying to get this done for quite some time and I don’t know if it is the permissions or the code itself. I have tried .format aswell

async def hug(ctx, user: discord.User):
  hug = ["https://media.discordapp.net/attachments/538854509179568149/933081233376809030/chiya-urara.gif", "blank"]
    await ctx.send(f'Aww, {ctx.message.author.mention} hugged {user.mention}\n' + random.choice(hug))
    return "Error found. Make sure you mentioned a user!"

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.