From 2788cc57f0f4f92765a1086239b1a462850ff0a8 Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Thu, 14 Dec 2023 21:27:45 -0500 Subject: [PATCH] fix(moderation): stringify parsed_time --- moderation/moderation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moderation/moderation.py b/moderation/moderation.py index f6b3919..3b9d979 100644 --- a/moderation/moderation.py +++ b/moderation/moderation.py @@ -1490,7 +1490,7 @@ class Moderation(commands.Cog): blacklist_roles.append( { 'role': role.id, - 'duration': parsed_time + 'duration': str(parsed_time) } ) await self.config.guild(ctx.guild).blacklist_roles.set(blacklist_roles)