aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/xkcd.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/exts/evergreen/xkcd.py')
-rw-r--r--bot/exts/evergreen/xkcd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/evergreen/xkcd.py b/bot/exts/evergreen/xkcd.py
index c98830bc..b56c53d9 100644
--- a/bot/exts/evergreen/xkcd.py
+++ b/bot/exts/evergreen/xkcd.py
@@ -1,7 +1,7 @@
import logging
import re
from random import randint
-from typing import Dict, Optional, Union
+from typing import Optional, Union
from discord import Embed
from discord.ext import tasks
@@ -19,9 +19,9 @@ 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.latest_comic_info: dict[str, Union[str, int]] = {}
self.get_latest_comic_info.start()
def cog_unload(self) -> None: