aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/__init__.py
diff options
context:
space:
mode:
authorGravatar Kieran Siek <[email protected]>2019-09-14 01:09:53 +0800
committerGravatar GitHub <[email protected]>2019-09-14 01:09:53 +0800
commite1dab123fc77986b09dc622457886635eb26d4ab (patch)
treebf38f7863925b393326edf4dc04453508e545a2b /bot/seasons/__init__.py
parentMerge pull request #269 from python-discord/hacktoberfest-update (diff)
parentFix incorrect merge conflict resolutions, lint remaining items (diff)
Merge pull request #270 from python-discord/flake8-annotations
Add Flake8 annotations
Diffstat (limited to 'bot/seasons/__init__.py')
-rw-r--r--bot/seasons/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/seasons/__init__.py b/bot/seasons/__init__.py
index 1512fae2..7faf9164 100644
--- a/bot/seasons/__init__.py
+++ b/bot/seasons/__init__.py
@@ -1,5 +1,7 @@
import logging
+from discord.ext import commands
+
from bot.seasons.season import SeasonBase, SeasonManager, get_season
__all__ = ("SeasonBase", "get_season")
@@ -7,6 +9,6 @@ __all__ = ("SeasonBase", "get_season")
log = logging.getLogger(__name__)
-def setup(bot):
+def setup(bot: commands.Bot) -> None:
bot.add_cog(SeasonManager(bot))
log.info("SeasonManager cog loaded")