aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons.py
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-03-31 16:18:59 +0200
committerGravatar kwzrd <[email protected]>2020-03-31 16:18:59 +0200
commit00af207de3087a41270f216ad86e06ba7dbf9d42 (patch)
treed317e2c66a658e2311350a592803eb88f7112312 /bot/seasons.py
parentDeseasonify: resolve current season w.r.t. month override (diff)
Refactor: capitalize Month enum members
Co-authored-by: MarkKoz <[email protected]>
Diffstat (limited to 'bot/seasons.py')
-rw-r--r--bot/seasons.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/bot/seasons.py b/bot/seasons.py
index 1376d50b..30979d2a 100644
--- a/bot/seasons.py
+++ b/bot/seasons.py
@@ -43,7 +43,7 @@ class Christmas(SeasonBase):
branding_path = "seasonal/christmas"
- months = {Month.december}
+ months = {Month.DECEMBER}
class Easter(SeasonBase):
@@ -60,7 +60,7 @@ class Easter(SeasonBase):
branding_path = "seasonal/easter"
- months = {Month.april}
+ months = {Month.APRIL}
class Halloween(SeasonBase):
@@ -74,7 +74,7 @@ class Halloween(SeasonBase):
branding_path = "seasonal/halloween"
- months = {Month.october}
+ months = {Month.OCTOBER}
class Pride(SeasonBase):
@@ -94,7 +94,7 @@ class Pride(SeasonBase):
branding_path = "seasonal/pride"
- months = {Month.june}
+ months = {Month.JUNE}
class Valentines(SeasonBase):
@@ -108,7 +108,7 @@ class Valentines(SeasonBase):
branding_path = "seasonal/valentines"
- months = {Month.february}
+ months = {Month.FEBRUARY}
class Wildcard(SeasonBase):
@@ -120,7 +120,7 @@ class Wildcard(SeasonBase):
colour = Colours.purple
description = "A season full of surprises!"
- months = {Month.august}
+ months = {Month.AUGUST}
def get_all_seasons() -> t.List[t.Type[SeasonBase]]: