WIP: Refactor Aurora (3.0.0) #29
1 changed files with 3 additions and 2 deletions
|
@ -270,13 +270,14 @@ async def changes_factory(interaction: Interaction, moderation: Moderation) -> E
|
||||||
f"{bold('End Timestamp:')} {end_timestamp}" if end_timestamp else "",
|
f"{bold('End Timestamp:')} {end_timestamp}" if end_timestamp else "",
|
||||||
f"{bold('Timestamp')} {timestamp}",
|
f"{bold('Timestamp')} {timestamp}",
|
||||||
]
|
]
|
||||||
|
copy = change_str.copy()
|
||||||
for string in change_str:
|
for string in change_str:
|
||||||
if string == "":
|
if string == "":
|
||||||
change_str.remove(string)
|
copy.remove(string)
|
||||||
|
|
||||||
embed.add_field(
|
embed.add_field(
|
||||||
name=change.type.title(),
|
name=change.type.title(),
|
||||||
value="\n".join(change_str),
|
value="\n".join(copy),
|
||||||
inline=False,
|
inline=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue