fix(moderation): stringify parsed_time
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 49s

This commit is contained in:
Seaswimmer 2023-12-14 21:27:45 -05:00
parent 8ad36c8b42
commit 2788cc57f0
Signed by: 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)