Answer the question
In order to leave comments, you need to log in
How to mention tagged user in embed?
@client.command()
async def kiss(ctx):
author = ctx.message.author
image = random.choice(["https://c.tenor.com/0mdCwkmGD1oAAAAM/kiss-love.gif", "https://c.tenor.com/_403I8S5wtcAAAAM/hungover.gif", "https://c.tenor.com/bkF2kFvXR50AAAAM/yes-love.gif"])
embed = discord.Embed(title = 'Поцелуйчики', description =f'{ctx.message.author.mention} поцеловал/ла {ctx.member.mention}',color=discord.Colour.from_rgb(255, 255, 0))
embed.set_image(url=image)
await ctx.send(embed=embed)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question