aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/xkcd.py
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-03-19 15:19:23 +0100
committerGravatar GitHub <[email protected]>2021-03-19 15:19:23 +0100
commit25b2e4c8412cceffe1ec528a9894586599f5f25d (patch)
treee3387dc9441445184947c88b214406a3b4f9aaa7 /bot/exts/evergreen/xkcd.py
parentFirst pass of easy to produce errors (diff)
parentMerge pull request #631 from python-discord/dependabot/pip/pillow-8.1.1 (diff)
Merge branch 'main' into Handle-DMChannels
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"])