From 6a9d5f9d25c0e9faf69c0bf427dbc686e1ce3b38 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 28 Jul 2021 22:06:28 +0200 Subject: [PATCH] link of publication instead of link of image --- src/cogs/internet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogs/internet.py b/src/cogs/internet.py index 8f7acb0..650d389 100644 --- a/src/cogs/internet.py +++ b/src/cogs/internet.py @@ -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)