diff options
Diffstat (limited to 'bot/seasons/season.py')
| -rw-r--r-- | bot/seasons/season.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bot/seasons/season.py b/bot/seasons/season.py index c5009d6b..cc2c1251 100644 --- a/bot/seasons/season.py +++ b/bot/seasons/season.py @@ -19,16 +19,6 @@ log = logging.getLogger(__name__) ICON_BASE_URL = "https://raw.githubusercontent.com/python-discord/branding/master" -def get_seasons() -> List[str]: - """Returns all the Season objects located in /bot/seasons/.""" - seasons = [] - - for module in pkgutil.iter_modules([Path("bot/seasons")]): - if module.ispkg: - seasons.append(module.name) - return seasons - - class SeasonBase: """Base class for Seasonal classes.""" |