WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
2 changed files with 2 additions and 2 deletions
Showing only changes of commit d07e5ed804 - Show all commits

View file

@ -370,7 +370,7 @@ class Moderation(AuroraGuildModel):
if close_db: if close_db:
await database.close() await database.close()
logger.debug( logger.verbose(
"Row inserted into moderation_%s!\n%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s", "Row inserted into moderation_%s!\n%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s",
guild_id, guild_id,
case["moderation_id"], case["moderation_id"],

View file

@ -28,7 +28,7 @@ async def create_guild_table(guild: Guild):
try: try:
await database.execute(f"SELECT * FROM `moderation_{guild.id}`") await database.execute(f"SELECT * FROM `moderation_{guild.id}`")
logger.debug("SQLite Table exists for server %s (%s)", guild.name, guild.id) logger.verbose("SQLite Table exists for server %s (%s)", guild.name, guild.id)
except aiosqlite.OperationalError: except aiosqlite.OperationalError:
query = f""" query = f"""