WIP: Refactor Aurora (3.0.0) #29
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
import sqlite3
|
||||
from datetime import datetime, timedelta
|
||||
from itertools import chain
|
||||
from time import time
|
||||
from typing import Any, Dict, List, Literal, Optional, Union
|
||||
|
||||
|
@ -244,7 +245,7 @@ class Moderation(AuroraGuildModel):
|
|||
|
||||
logger.debug(
|
||||
"Row inserted into moderation_%s!\n%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s",
|
||||
tuple(guild_id, case_safe.values())
|
||||
tuple(chain({"guild_id": guild_id}.values() + case_safe.values()))
|
||||
)
|
||||
|
||||
return cls.from_dict(bot=bot, **case)
|
||||
|
|
Loading…
Reference in a new issue