WIP: Refactor Aurora (3.0.0) #29

Draft
cswimr wants to merge 347 commits from aurora-pydantic into main
Showing only changes of commit a3a208b38e - Show all commits

View file

@ -66,7 +66,7 @@ class Moderation(AuroraBaseModel):
result = cursor.fetchone() result = cursor.fetchone()
if result: if result:
case = generate_dict(result) case = generate_dict(result, guild_id)
cursor.close() cursor.close()
return cls.from_dict(bot, case) return cls.from_dict(bot, case)