fix(aurora): fixed Moderation.update() not converting the duration timedelta to the correct kind of string
This commit is contained in:
parent
48d2f8b416
commit
5fc6d0eb6a
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ class Moderation(AuroraGuildModel):
|
|||
self.target_type,
|
||||
self.moderator_id,
|
||||
self.role_id,
|
||||
str(self.duration) if self.duration else None,
|
||||
timedelta_to_string(self.duration) if self.duration else None,
|
||||
self.end_timestamp.timestamp() if self.end_timestamp else None,
|
||||
self.reason,
|
||||
self.resolved,
|
||||
|
|
Loading…
Reference in a new issue