WIP: Moderation type registry #26
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue