fix(aurora): fixed the Moderation.update() method again
All checks were successful
Actions / Build Documentation (MkDocs) (pull_request) Successful in 28s
Actions / Lint Code (Ruff & Pylint) (pull_request) Successful in 41s

This commit is contained in:
Seaswimmer 2024-08-14 15:26:55 -04:00
parent b0c9656758
commit 9ae7607015
Signed by: cswimr
GPG key ID: 3813315477F26F82
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ class Aurora(commands.Cog):
This cog stores all of its data in an SQLite database."""
__author__ = ["Seaswimmer"]
__version__ = "3.0.0-indev15"
__version__ = "3.0.0-indev16"
__documentation__ = "https://seacogs.coastalcommits.com/aurora/"
async def red_delete_data_for_user(self, *, requester, user_id: int):

View file

@ -161,7 +161,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,