fix(aurora): fixed the Moderation.update() method again
This commit is contained in:
parent
b0c9656758
commit
9ae7607015
2 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ class Aurora(commands.Cog):
|
||||||
This cog stores all of its data in an SQLite database."""
|
This cog stores all of its data in an SQLite database."""
|
||||||
|
|
||||||
__author__ = ["Seaswimmer"]
|
__author__ = ["Seaswimmer"]
|
||||||
__version__ = "3.0.0-indev15"
|
__version__ = "3.0.0-indev16"
|
||||||
__documentation__ = "https://seacogs.coastalcommits.com/aurora/"
|
__documentation__ = "https://seacogs.coastalcommits.com/aurora/"
|
||||||
|
|
||||||
async def red_delete_data_for_user(self, *, requester, user_id: int):
|
async def red_delete_data_for_user(self, *, requester, user_id: int):
|
||||||
|
|
|
@ -161,7 +161,7 @@ class Moderation(AuroraGuildModel):
|
||||||
self.target_type,
|
self.target_type,
|
||||||
self.moderator_id,
|
self.moderator_id,
|
||||||
self.role_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.end_timestamp.timestamp() if self.end_timestamp else None,
|
||||||
self.reason,
|
self.reason,
|
||||||
self.resolved,
|
self.resolved,
|
||||||
|
|
Loading…
Reference in a new issue