diff options
| author | 2020-04-02 14:39:24 +0200 | |
|---|---|---|
| committer | 2020-04-02 14:39:24 +0200 | |
| commit | d77a2bbc50305d05371197f4cfe3354cfca4c627 (patch) | |
| tree | be1eed54972d9843f66114311f93b68b579046ac /bot/exts/evergreen/help.py | |
| parent | Merge pull request #382 from ks129/game-fuzzy (diff) | |
| parent | Merge master: adjust `Space` cog location (diff) | |
Merge pull request #329 from python-discord/seasonal-purge
Deseasonify: Make all cogs available year-round, and manage only branding by season.
Diffstat (limited to '')
| -rw-r--r-- | bot/exts/evergreen/help.py (renamed from bot/help.py) | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bot/help.py b/bot/exts/evergreen/help.py index 7209b71e..ccd76d76 100644 --- a/bot/help.py +++ b/bot/exts/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 @@ -13,7 +14,7 @@ from fuzzywuzzy import fuzz, process from bot import constants from bot.bot import SeasonalBot from bot.constants import Emojis -from bot.pagination import ( +from bot.utils.pagination import ( FIRST_EMOJI, LAST_EMOJI, LEFT_EMOJI, LinePaginator, RIGHT_EMOJI, ) @@ -30,6 +31,8 @@ REACTIONS = { Cog = namedtuple('Cog', ['name', 'description', 'commands']) +log = logging.getLogger(__name__) + class HelpQueryNotFound(ValueError): """ |