forked from cswimr/SeaCogs
fix(moderation): stringify parsed_time
This commit is contained in:
parent
8ad36c8b42
commit
2788cc57f0
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue