WIP: Refactor Aurora (3.0.0) #29
1 changed files with 1 additions and 1 deletions
|
@ -1081,7 +1081,7 @@ class Aurora(commands.Cog):
|
||||||
"timestamp": old_moderation.timestamp,
|
"timestamp": old_moderation.timestamp,
|
||||||
"reason": old_moderation.reason,
|
"reason": old_moderation.reason,
|
||||||
"user_id": old_moderation.moderator_id,
|
"user_id": old_moderation.moderator_id,
|
||||||
"duration": timedelta_to_string(old_moderation.duration),
|
"duration": timedelta_to_string(old_moderation.duration) if old_moderation.duration else None,
|
||||||
"end_timestamp": old_moderation.end_timestamp,
|
"end_timestamp": old_moderation.end_timestamp,
|
||||||
}))
|
}))
|
||||||
moderation.changes.append(Change.from_dict(interaction.client, {
|
moderation.changes.append(Change.from_dict(interaction.client, {
|
||||||
|
|
Loading…
Reference in a new issue