fix(moderation): stringify parsed_time
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 49s
Some checks failed
Pylint / Pylint (3.10) (push) Failing after 49s
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(
|
||||
{
|
||||
'role': role.id,
|
||||
'duration': parsed_time
|
||||
'duration': str(parsed_time)
|
||||
}
|
||||
)
|
||||
await self.config.guild(ctx.guild).blacklist_roles.set(blacklist_roles)
|
||||
|
|
Loading…
Reference in a new issue