diff options
| author | 2019-09-30 15:33:18 +0200 | |
|---|---|---|
| committer | 2019-09-30 15:33:18 +0200 | |
| commit | fb9b954a53897d922aa009296d6b7605d9aa658e (patch) | |
| tree | cb5fc1932c2d15b1cdfd96cdf7c985399f98d07e | |
| parent | Merge pull request #231 from Suhail6inkling/date-fix (diff) | |
Disable announcements and add hacktober icon.
The Halloween season was currently configured to run with spooky
icons and to announce a terrible, contentless announcement.
This has been disabled and the neon hacktoberfest icon has been
placed in its stead.
| -rw-r--r-- | bot/seasons/halloween/__init__.py | 14 | ||||
| -rw-r--r-- | bot/seasons/season.py | 2 | 
2 files changed, 11 insertions, 5 deletions
| diff --git a/bot/seasons/halloween/__init__.py b/bot/seasons/halloween/__init__.py index e40e3dc9..c81879d7 100644 --- a/bot/seasons/halloween/__init__.py +++ b/bot/seasons/halloween/__init__.py @@ -3,16 +3,22 @@ from bot.seasons import SeasonBase  class Halloween(SeasonBase): -    """Halloween Seasonal event attributes.""" +    """ +    Halloween Seasonal event attributes. + +    Announcement for this cog temporarily disabled, since we're doing a custom +    Hacktoberfest announcement. If you're enabling the announcement again, +    make sure to update this docstring accordingly. +    """      name = "halloween" -    bot_name = "Spookybot" +    bot_name = "NeonBot"      greeting = "Happy Halloween!"      start_date = "01/10"      end_date = "01/11" -    colour = Colours.orange +    colour = Colours.pink      icon = ( -        "/logos/logo_seasonal/halloween/spooky.png", +        "/logos/logo_seasonal/hacktober/hacktoberfest.png",      ) diff --git a/bot/seasons/season.py b/bot/seasons/season.py index 8d8179f6..3546fda6 100644 --- a/bot/seasons/season.py +++ b/bot/seasons/season.py @@ -271,7 +271,7 @@ class SeasonBase:          It will skip the announcement if the current active season is the "evergreen" default season.          """          # Don't actually announce if reverting to normal season -        if self.name in ("evergreen", "wildcard"): +        if self.name in ("evergreen", "wildcard", "halloween"):              log.debug(f"Season Changed: {self.name}")              return | 
