Include URL in Discord bot changelog to link to the Github PR page
LGTM!
This commit is contained in:
@@ -61,6 +61,7 @@ def main():
|
||||
"time", datetime.datetime.now(datetime.timezone.utc).isoformat()
|
||||
)
|
||||
changes = partyaml["changes"]
|
||||
url = partyaml["url"]
|
||||
|
||||
if not isinstance(changes, list):
|
||||
changes = [changes]
|
||||
@@ -71,7 +72,7 @@ def main():
|
||||
new_id = max_id
|
||||
|
||||
entries_list.append(
|
||||
{"author": author, "time": time, "changes": changes, "id": new_id}
|
||||
{"author": author, "time": time, "changes": changes, "id": new_id, "url": url}
|
||||
)
|
||||
|
||||
os.remove(partpath)
|
||||
|
||||
Reference in New Issue
Block a user