Check if url exists in changelog and adjust Discord message for it (#22718)
This commit is contained in:
@@ -61,7 +61,7 @@ def main():
|
||||
"time", datetime.datetime.now(datetime.timezone.utc).isoformat()
|
||||
)
|
||||
changes = partyaml["changes"]
|
||||
url = partyaml["url"]
|
||||
url = partyaml.get("url")
|
||||
|
||||
if not isinstance(changes, list):
|
||||
changes = [changes]
|
||||
|
||||
Reference in New Issue
Block a user