Fix reddit display
This commit is contained in:
parent
b6031af760
commit
335a4b7db0
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ class RedditCog(Extension):
|
||||||
Args:
|
Args:
|
||||||
post: Post to build embeds
|
post: Post to build embeds
|
||||||
"""
|
"""
|
||||||
url = "https://reddit.com" + post.permalink
|
url = f"https://redd.it/{post.id}"
|
||||||
await post.author.load()
|
await post.author.load()
|
||||||
author_url = f"https://reddit.com/u/{post.author.name}"
|
author_url = f"https://reddit.com/u/{post.author.name}"
|
||||||
author_icon = post.author.icon_img
|
author_icon = post.author.icon_img
|
||||||
|
|
Loading…
Add table
Reference in a new issue