WIP: Refactor Aurora (3.0.0) #29
1 changed files with 4 additions and 1 deletions
|
@ -251,7 +251,10 @@ class Moderation(AuroraGuildModel):
|
|||
end_timestamp = None
|
||||
|
||||
if not expired:
|
||||
if end_timestamp:
|
||||
expired = bool(timestamp > end_timestamp)
|
||||
else:
|
||||
expired = False
|
||||
|
||||
if reason == "NULL":
|
||||
reason = None
|
||||
|
|
Loading…
Reference in a new issue