aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/xkcd.py
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2021-09-01 18:44:24 -0700
committerGravatar Xithrius <[email protected]>2021-09-01 18:44:24 -0700
commitaecc1e6f6f1df012add3ce394496b01e776bbfdf (patch)
tree174252cf5ee11ce043877c79507189a799d83a18 /bot/exts/evergreen/xkcd.py
parentUnion item with None to Optional with item. (diff)
Removed None return annotation for any __init__
Diffstat (limited to 'bot/exts/evergreen/xkcd.py')
-rw-r--r--bot/exts/evergreen/xkcd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/xkcd.py b/bot/exts/evergreen/xkcd.py
index 7c4fc30e..b56c53d9 100644
--- a/bot/exts/evergreen/xkcd.py
+++ b/bot/exts/evergreen/xkcd.py
@@ -19,7 +19,7 @@ BASE_URL = "https://xkcd.com"
class XKCD(Cog):
"""Retrieving XKCD comics."""
- def __init__(self, bot: Bot) -> None:
+ def __init__(self, bot: Bot):
self.bot = bot
self.latest_comic_info: dict[str, Union[str, int]] = {}
self.get_latest_comic_info.start()