WIP: Moderation type registry #26

Closed
cswimr wants to merge 146 commits from aurora-3rd-party 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)