fix(aurora): add a debug statement
This commit is contained in:
parent
8ac735dafe
commit
0089625ef3
1 changed files with 1 additions and 0 deletions
|
@ -166,6 +166,7 @@ class Moderation(AuroraGuildModel):
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_result(cls, bot: Red, result: Iterable, guild_id: int) -> "Moderation":
|
def from_result(cls, bot: Red, result: Iterable, guild_id: int) -> "Moderation":
|
||||||
if result[7] is not None:
|
if result[7] is not None:
|
||||||
|
logger.debug(result[7])
|
||||||
hours, minutes, seconds = map(int, result[7].split(':'))
|
hours, minutes, seconds = map(int, result[7].split(':'))
|
||||||
duration = timedelta(hours=hours, minutes=minutes, seconds=seconds)
|
duration = timedelta(hours=hours, minutes=minutes, seconds=seconds)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue