fix(moderation): stringify parsed_time

This commit is contained in:
Seaswimmer 2023-12-14 21:27:45 -05:00
parent 8ad36c8b42
commit 2788cc57f0
Signed by untrusted user: cswimr
GPG key ID: 1EBC234EEDA901AE

View file

@ -1490,7 +1490,7 @@ class Moderation(commands.Cog):
blacklist_roles.append( blacklist_roles.append(
{ {
'role': role.id, 'role': role.id,
'duration': parsed_time 'duration': str(parsed_time)
} }
) )
await self.config.guild(ctx.guild).blacklist_roles.set(blacklist_roles) await self.config.guild(ctx.guild).blacklist_roles.set(blacklist_roles)