diff options
author | 2021-05-04 12:57:03 -0400 | |
---|---|---|
committer | 2021-05-04 12:57:03 -0400 | |
commit | a6cc40ff3b323dff112d7f8c339e124f3a6d9980 (patch) | |
tree | f0cdec46d302cfc629fe9277df5cfbe6251a861b /bot/exts/evergreen/xkcd.py | |
parent | chore: Don't return a Message object when the return annotation is None (diff) |
chore: Prefer double quotes over single quotes
Diffstat (limited to 'bot/exts/evergreen/xkcd.py')
-rw-r--r-- | bot/exts/evergreen/xkcd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/xkcd.py b/bot/exts/evergreen/xkcd.py index ba9e46e0..c98830bc 100644 --- a/bot/exts/evergreen/xkcd.py +++ b/bot/exts/evergreen/xkcd.py @@ -53,7 +53,7 @@ class XKCD(Cog): await ctx.send(embed=embed) return - comic = randint(1, self.latest_comic_info['num']) if comic is None else comic.group(0) + comic = randint(1, self.latest_comic_info["num"]) if comic is None else comic.group(0) if comic == "latest": info = self.latest_comic_info @@ -69,7 +69,7 @@ class XKCD(Cog): return embed.title = f"XKCD comic #{info['num']}" - embed.description = info['alt'] + embed.description = info["alt"] embed.url = f"{BASE_URL}/{info['num']}" if info["img"][-3:] in ("jpg", "png", "gif"): |