misc(aurora): added a temporary logging call
This commit is contained in:
parent
f5aa9f2b20
commit
71840cc148
1 changed files with 2 additions and 2 deletions
|
@ -320,9 +320,9 @@ class Moderation(AuroraGuildModel):
|
|||
if types:
|
||||
if 'all' in types:
|
||||
types = type_registry.keys()
|
||||
logger.debug("Getting all types: %s", types)
|
||||
conditions.append(f"moderation_type IN ({', '.join(['?' for _ in types])})")
|
||||
for t in types:
|
||||
params.append(t)
|
||||
params.extend([t.key for t in types])
|
||||
if before:
|
||||
conditions.append("timestamp < ?")
|
||||
params.append(int(before.timestamp()))
|
||||
|
|
Loading…
Reference in a new issue