aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-10-18 15:22:45 +0300
committerGravatar ks129 <[email protected]>2020-10-18 15:22:45 +0300
commit082a6c0ee67ef627e987d6f9f17f1886eedb2518 (patch)
treeaf821338855d3cd704475f4286e2ed95e9d816bb
parentUpdate formatting of voice gate failing embed (diff)
Use .title() instead of .capitalize()
-rw-r--r--bot/exts/moderation/infraction/_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/infraction/_utils.py b/bot/exts/moderation/infraction/_utils.py
index bff5fcf4c..d0dc3f0a1 100644
--- a/bot/exts/moderation/infraction/_utils.py
+++ b/bot/exts/moderation/infraction/_utils.py
@@ -155,7 +155,7 @@ async def notify_infraction(
log.trace(f"Sending {user} a DM about their {infr_type} infraction.")
text = INFRACTION_DESCRIPTION_TEMPLATE.format(
- type=infr_type.capitalize(),
+ type=infr_type.title(),
expires=expires_at or "N/A",
reason=reason or "No reason provided."
)