diff options
| author | 2020-03-19 22:11:04 +0100 | |
|---|---|---|
| committer | 2020-03-19 22:23:55 +0100 | |
| commit | 93c2c94b1290effa22d8433002a523a38c2edf57 (patch) | |
| tree | b25b46b52e10a92371b7c81307e6901b6fffbd16 /bot/seasons/__init__.py | |
| parent | Deseasonify: authorize with github token (diff) | |
Deseasonify: add colour attr to seasonal classes
We'll use this to colour the branding embed, as it currently looks very
plain. Seasons can either provide their own, or just use the default
green.
Diffstat (limited to 'bot/seasons/__init__.py')
| -rw-r--r-- | bot/seasons/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/seasons/__init__.py b/bot/seasons/__init__.py index 28920476..13fec76b 100644 --- a/bot/seasons/__init__.py +++ b/bot/seasons/__init__.py @@ -4,7 +4,7 @@ from datetime import datetime from pathlib import Path from typing import List, Optional, Set, Type -from bot.constants import Month +from bot.constants import Colours, Month __all__ = ("SeasonBase", "get_seasons", "get_extensions", "get_current_season", "get_season") @@ -58,6 +58,7 @@ class SeasonBase: season_name: str = "Evergreen" bot_name: str = "SeasonalBot" + colour: str = Colours.soft_green description: str = "The default season!" branding_path: str = "seasonal/evergreen" |