WIP: Refactor Aurora (3.0.0) #29
2 changed files with 2 additions and 2 deletions
|
@ -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"],
|
||||||
|
|
|
@ -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"""
|
||||||
|
|
Loading…
Reference in a new issue