WIP: Refactor Aurora (3.0.0) #29
1 changed files with 2 additions and 0 deletions
|
@ -69,4 +69,6 @@ class Change(AuroraBaseModel):
|
|||
"end_timestamp": end_timestamp,
|
||||
"duration": duration
|
||||
})
|
||||
if "bot" in data:
|
||||
del data["bot"]
|
||||
return cls(bot=bot, **data)
|
||||
|
|
Loading…
Reference in a new issue