diff options
| author | 2021-02-13 11:03:14 -0800 | |
|---|---|---|
| committer | 2021-02-13 11:03:14 -0800 | |
| commit | 8bc6f497d01d6b848ba868f4ac662100cdee48d3 (patch) | |
| tree | 691c979ed6853d11f97ab696d4d40b8278be0a6c | |
| parent | Merge pull request #575 from Shivansh-007/fix/be-my-valentine (diff) | |
Added description and url to embed of xkcd command
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/evergreen/xkcd.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/bot/exts/evergreen/xkcd.py b/bot/exts/evergreen/xkcd.py index d3224bfe..43f05864 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}/{comic}"          if info["img"][-3:] in ("jpg", "png", "gif"):              embed.set_image(url=info["img"]) | 
