aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/evergreen/help.py
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-03-28 15:01:07 +0100
committerGravatar kwzrd <[email protected]>2020-03-28 15:01:07 +0100
commit4953466983f5adaa2b3e6f5c37c06b2899222e1a (patch)
tree2f96f6a8f395b1b4597a00131428f0e15862e078 /bot/seasons/evergreen/help.py
parentDeseasonify: move branding extension under evergreen pkg (diff)
Deseasonify: info log on help cog load
Keep it consistent with all other cogs.
Diffstat (limited to 'bot/seasons/evergreen/help.py')
-rw-r--r--bot/seasons/evergreen/help.py5
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: