diff options
| author | 2020-03-07 13:30:10 +0100 | |
|---|---|---|
| committer | 2020-03-07 13:30:10 +0100 | |
| commit | ca505373da09bf722d2b0511f93401a07805eae7 (patch) | |
| tree | 112f89dc218399b23697c167f7ecd17768c2b6f9 /bot/seasons/season.py | |
| parent | Deseasonify: add `get_extensions` helper function (diff) | |
Deseasonify: move 'SeasonBase' to seasons package init
The season module can now be safely deleted, as everything defined here
has either been removed or moved elsewhere.
Diffstat (limited to 'bot/seasons/season.py')
| -rw-r--r-- | bot/seasons/season.py | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/bot/seasons/season.py b/bot/seasons/season.py deleted file mode 100644 index cc2c1251..00000000 --- a/bot/seasons/season.py +++ /dev/null @@ -1,38 +0,0 @@ -import contextlib -import datetime -import importlib -import inspect -import logging -import pkgutil -from pathlib import Path -from typing import List, Optional, Tuple, Type, Union - -import discord -from discord.ext import commands - -from bot.bot import bot -from bot.constants import Channels, Client, Roles -from bot.decorators import with_role - -log = logging.getLogger(__name__) - -ICON_BASE_URL = "https://raw.githubusercontent.com/python-discord/branding/master" - - -class SeasonBase: - """Base class for Seasonal classes.""" - - name: Optional[str] = "evergreen" - bot_name: str = "SeasonalBot" - - start_date: Optional[str] = None - end_date: Optional[str] = None - should_announce: bool = False - - colour: Optional[int] = None - icon: Tuple[str, ...] = ("/logos/logo_full/logo_full.png",) - bot_icon: Optional[str] = None - - date_format: str = "%d/%m/%Y" - - index: int = 0 |