diff options
| -rw-r--r-- | bot/seasons/evergreen/help.py | 5 | 
1 files changed, 5 insertions, 0 deletions
diff --git a/bot/seasons/evergreen/help.py b/bot/seasons/evergreen/help.py index e9e1f574..f4d76402 100644 --- a/bot/seasons/evergreen/help.py +++ b/bot/seasons/evergreen/help.py @@ -1,6 +1,7 @@  # Help command from Python bot. All commands that will be added to there in futures should be added to here too.  import asyncio  import itertools +import logging  from collections import namedtuple  from contextlib import suppress  from typing import Union @@ -30,6 +31,8 @@ REACTIONS = {  Cog = namedtuple('Cog', ['name', 'description', 'commands']) +log = logging.getLogger(__name__) +  class HelpQueryNotFound(ValueError):      """ @@ -537,6 +540,8 @@ def setup(bot: SeasonalBot) -> None:      except Exception:          unload(bot)          raise +    else: +        log.info("Help cog loaded")  def teardown(bot: SeasonalBot) -> None:  |