diff options
| author | 2019-10-02 07:52:37 +0530 | |
|---|---|---|
| committer | 2019-10-02 07:52:37 +0530 | |
| commit | efc7a5146f922a0d70375355dfe84c9d7d63ff70 (patch) | |
| tree | b25310b56d008e0d5f05bc7d460a9640b69e7080 /bot/seasons/__init__.py | |
| parent | added function annotations to the check method (diff) | |
| parent | Point setup guide to site wiki (diff) | |
Merge branch 'master' into trivia_quiz
Diffstat (limited to 'bot/seasons/__init__.py')
| -rw-r--r-- | bot/seasons/__init__.py | 4 |
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") |