link of publication instead of link of image

This commit is contained in:
Mylloon 2021-07-28 22:06:28 +02:00
parent 6dab13b309
commit 6a9d5f9d25

View file

@ -46,7 +46,7 @@ class Internet(commands.Cog):
else:
footer = "NSFW de Reddit"
memeOuImage = "[lien de l'image]"
embed = discord.Embed(title = f"r/{subredditchoix} pour {ctx.author.name}", color = discord.Colour.random(), description = f"{memeOuImage}({submission.url})")
embed = discord.Embed(title = f"r/{subredditchoix} pour {ctx.author.name}", color = discord.Colour.random(), description = f"{memeOuImage}(https://www.reddit.com{submission.permalink})")
embed.set_footer(text = footer)
embed.set_image(url = submission.url)
message = await ctx.send(embed = embed)