aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/xkcd.py
diff options
context:
space:
mode:
authorGravatar Vivaan Parashar <[email protected]>2021-04-15 19:18:47 +0530
committerGravatar Vivaan Parashar <[email protected]>2021-04-15 19:18:47 +0530
commitc25976c654162cd4222b1d1e1088d978971bcabb (patch)
treeb455db8577d1746d7623e7b891a8549432246eea /bot/exts/evergreen/xkcd.py
parentMerge branch 'master' of https://github.com/python-discord/sir-lancebot (diff)
parentMerge pull request #679 from python-discord/vcokltfre/fix/timed-error-help (diff)
Update branch
Diffstat (limited to 'bot/exts/evergreen/xkcd.py')
-rw-r--r--bot/exts/evergreen/xkcd.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/exts/evergreen/xkcd.py b/bot/exts/evergreen/xkcd.py
index d3224bfe..1ff98ca2 100644
--- a/bot/exts/evergreen/xkcd.py
+++ b/bot/exts/evergreen/xkcd.py
@@ -69,6 +69,8 @@ class XKCD(Cog):
return
embed.title = f"XKCD comic #{info['num']}"
+ embed.description = info['alt']
+ embed.url = f"{BASE_URL}/{info['num']}"
if info["img"][-3:] in ("jpg", "png", "gif"):
embed.set_image(url=info["img"])