aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/__init__.py
diff options
context:
space:
mode:
authorGravatar RohanRadia <[email protected]>2019-10-02 20:58:00 +0100
committerGravatar GitHub <[email protected]>2019-10-02 20:58:00 +0100
commit1da22f8a9bd64f13883a4bc8011c9f5069b4dac9 (patch)
treedeaed1b2caf7f650f05e12613cdff5b8a12629c9 /bot/seasons/__init__.py
parentRemoved unused json (diff)
parentMerge pull request #285 from Numerlor/hacktober-date-channel-fixes (diff)
Merge pull request #3 from python-discord/master
Update
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")