WIP: Moderation type registry #26

Closed
cswimr wants to merge 146 commits from aurora-3rd-party into main
Showing only changes of commit e14845ef85 - Show all commits

View file

@ -301,7 +301,8 @@ class Change(AuroraBaseModel):
data.update({
"timestamp": timestamp,
"end_timestamp": end_timestamp,
"duration": duration
"duration": duration,
"user_id": int(data["user_id"])
})
return cls(bot=bot, **data)