WIP: Refactor Aurora (3.0.0) #29
1 changed files with 0 additions and 1 deletions
|
@ -167,7 +167,6 @@ class Moderation(AuroraGuildModel):
|
|||
@classmethod
|
||||
def from_result(cls, bot: Red, result: Iterable, guild_id: int) -> "Moderation":
|
||||
if result[7] is not None:
|
||||
logger.debug("%s | %s", result[7], type(result[7]))
|
||||
hours, minutes, seconds = map(int, result[7].split(':'))
|
||||
duration = timedelta(hours=hours, minutes=minutes, seconds=seconds)
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue