aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ionite34 <[email protected]>2022-07-28 06:11:23 -0400
committerGravatar Ionite <[email protected]>2022-08-16 16:38:26 -0400
commit08e344c8884b612ea0775d3141b33d0f4575d085 (patch)
treeeb3acadc63eacacec6a7141c317aa8468cc5ddfa
parentFixed tests (diff)
Correct last_applied formatting
-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 80b65dae8..cd82f5b2e 100644
--- a/bot/exts/moderation/infraction/_utils.py
+++ b/bot/exts/moderation/infraction/_utils.py
@@ -102,7 +102,7 @@ async def post_infraction(
"user": user.id,
"active": active,
"dm_sent": dm_sent,
- "last_applied": current_time,
+ "last_applied": current_time.isoformat(),
}
# Parse duration or expiry