aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.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/constants.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/constants.py')
-rw-r--r--bot/constants.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/bot/constants.py b/bot/constants.py
index ab16be5d..34bbf87f 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -136,18 +136,18 @@ class Lovefest:
class Month(enum.IntEnum):
- january = 1
- february = 2
- march = 3
- april = 4
- may = 5
- june = 6
- july = 7
- august = 8
- september = 9
- october = 10
- november = 11
- december = 12
+ JANUARY = 1
+ FEBRUARY = 2
+ MARCH = 3
+ APRIL = 4
+ MAY = 5
+ JUNE = 6
+ JULY = 7
+ AUGUST = 8
+ SEPTEMBER = 9
+ OCTOBER = 10
+ NOVEMBER = 11
+ DECEMBER = 12
# If a month override was configured, check that it's a valid Month