WIP: Moderation type registry #26
1 changed files with 3 additions and 0 deletions
|
@ -264,6 +264,9 @@ class Moderation(AuroraGuildModel):
|
||||||
case_safe["metadata"],
|
case_safe["metadata"],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
for change in case["changes"]:
|
||||||
|
change.update({"bot": bot})
|
||||||
|
|
||||||
return cls.from_dict(bot=bot, data=case)
|
return cls.from_dict(bot=bot, data=case)
|
||||||
|
|
||||||
class Change(AuroraBaseModel):
|
class Change(AuroraBaseModel):
|
||||||
|
|
Loading…
Reference in a new issue