aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-09-03 16:28:04 +0100
committerGravatar GitHub <[email protected]>2021-09-03 16:28:04 +0100
commitcd7060835b5b0d150c6e91d75bc3227ee43db0ba (patch)
tree4264ddbb25e86184255574cfd0e8fa9bb11d7bcb /bot/constants.py
parentHandle status not found with 404 picture (diff)
parentMerge pull request #839 from python-discord/android-codeblock-fix (diff)
Merge branch 'main' into teapot-support
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 2730106b..2313bfdb 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -3,7 +3,7 @@ import enum
import logging
from datetime import datetime
from os import environ
-from typing import Dict, NamedTuple
+from typing import NamedTuple
__all__ = (
"AdventOfCode",
@@ -56,7 +56,7 @@ class AdventOfCodeLeaderboard:
return self._session
-def _parse_aoc_leaderboard_env() -> Dict[str, AdventOfCodeLeaderboard]:
+def _parse_aoc_leaderboard_env() -> dict[str, AdventOfCodeLeaderboard]:
"""
Parse the environment variable containing leaderboard information.