aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shirayuki Nekomata <[email protected]>2019-12-04 17:12:25 +0700
committerGravatar GitHub <[email protected]>2019-12-04 17:12:25 +0700
commitc1aeb6d263172168f77845408e8d2756f6cb2813 (patch)
treeef733203c0f292a0f7f89745a6de4f4a366cd539
parentImplemented remaining time until expiration for infraction searching. (diff)
Apply suggestions from Mark - removing `.` at the end and use double quote instead of single.
Co-Authored-By: Mark <[email protected]>
-rw-r--r--bot/cogs/moderation/management.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/moderation/management.py b/bot/cogs/moderation/management.py
index 2f5e09f1b..74f75781d 100644
--- a/bot/cogs/moderation/management.py
+++ b/bot/cogs/moderation/management.py
@@ -234,9 +234,9 @@ class ModManagement(commands.Cog):
created = time.format_infraction(infraction["inserted_at"])
if active:
- remaining = time.until_expiration(infraction["expires_at"]) or 'Expired.'
+ remaining = time.until_expiration(infraction["expires_at"]) or "Expired"
else:
- remaining = 'Inactive.'
+ remaining = "Inactive"
if infraction["expires_at"] is None:
expires = "*Permanent*"