From 335a4b7db09a3f459f6e973c578500b6111e8d5b Mon Sep 17 00:00:00 2001 From: zevaryx Date: Sat, 14 Jan 2023 06:31:45 +0000 Subject: [PATCH] Fix reddit display --- jarvis/cogs/reddit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jarvis/cogs/reddit.py b/jarvis/cogs/reddit.py index 399ae69..1be089c 100644 --- a/jarvis/cogs/reddit.py +++ b/jarvis/cogs/reddit.py @@ -57,7 +57,7 @@ class RedditCog(Extension): Args: post: Post to build embeds """ - url = "https://reddit.com" + post.permalink + url = f"https://redd.it/{post.id}" await post.author.load() author_url = f"https://reddit.com/u/{post.author.name}" author_icon = post.author.icon_img