diff options
author | 2020-03-31 18:16:13 +0200 | |
---|---|---|
committer | 2020-03-31 18:16:13 +0200 | |
commit | 2ef9715c28d3f6f412ae4912302a22ef6fe0520c (patch) | |
tree | 4d5a13dfc75481b6bf87cfcf9897ee174d4cadba /bot/exts/evergreen | |
parent | Deseasonify: turn helpers into regular functions (diff) |
Deseasonify: title-case month names in frontend
After 00af207de3087a41270f216ad86e06ba7dbf9d42, we should ensure that
the month names aren't shown to the user in all caps.
Co-authored-by: MarkKoz <[email protected]>
Diffstat (limited to 'bot/exts/evergreen')
-rw-r--r-- | bot/exts/evergreen/branding.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/exts/evergreen/branding.py b/bot/exts/evergreen/branding.py index 9761811a..8e96ad52 100644 --- a/bot/exts/evergreen/branding.py +++ b/bot/exts/evergreen/branding.py @@ -219,7 +219,7 @@ class BrandingManager(commands.Cog): # If we're in a non-evergreen season, also show active months if self.current_season is not SeasonBase: - active_months = ", ".join(m.name for m in self.current_season.months) + active_months = ", ".join(m.name.title() for m in self.current_season.months) title = f"{self.current_season.season_name} ({active_months})" else: title = self.current_season.season_name @@ -407,7 +407,7 @@ class BrandingManager(commands.Cog): if season is SeasonBase: active_when = "always" else: - months = ", ".join(m.name for m in season.months) + months = ", ".join(m.name.title() for m in season.months) active_when = f"in {months}" description = ( |