aboutsummaryrefslogtreecommitdiffstats
path: root/bot/constants.py
diff options
context:
space:
mode:
Diffstat (limited to 'bot/constants.py')
-rw-r--r--bot/constants.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bot/constants.py b/bot/constants.py
index 22ea9177..638448ea 100644
--- a/bot/constants.py
+++ b/bot/constants.py
@@ -149,6 +149,9 @@ class Month(enum.IntEnum):
NOVEMBER = 11
DECEMBER = 12
+ def __str__(self) -> str:
+ return self.name.title()
+
# If a month override was configured, check that it's a valid Month
# Prevents delaying an exception after the bot starts