diff options
| author | 2019-03-07 14:33:48 +0800 | |
|---|---|---|
| committer | 2019-03-07 14:33:48 +0800 | |
| commit | 9cf03d2acbff16a119c7a9a9e9eaf4ca3d3a1972 (patch) | |
| tree | de20043895db17cffc38578d6d227b8b2c70ae83 /bot/seasons/evergreen/__init__.py | |
| parent | Prevent SeasonalBot from changing server icon during off-season (non-evergree... (diff) | |
Added `bot_icon` attribute to `SeasonBase` to handle bot-only avatars
* The `icon` attribute of the `SeasonBase` class now defaults to the original server icon.
* Getting avatar icons through `get_icon` by passing in `avatar=True` returns `bot_icon` if present.
Diffstat (limited to 'bot/seasons/evergreen/__init__.py')
| -rw-r--r-- | bot/seasons/evergreen/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/seasons/evergreen/__init__.py b/bot/seasons/evergreen/__init__.py index db5b5684..db610e7c 100644 --- a/bot/seasons/evergreen/__init__.py +++ b/bot/seasons/evergreen/__init__.py @@ -2,4 +2,4 @@ from bot.seasons import SeasonBase class Evergreen(SeasonBase): - pass + bot_icon = "/logos/logo_seasonal/evergreen/logo_evergreen.png" |