From 4b093f4b8959c1a6d387d31b94ab4ad64c74dfd7 Mon Sep 17 00:00:00 2001 From: Cooper <73203995+coopeeo@users.noreply.github.com> Date: Sat, 23 Mar 2024 19:29:36 -0500 Subject: [PATCH] e --- .github/issue.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/issue.py b/.github/issue.py index cb35e62..7309993 100644 --- a/.github/issue.py +++ b/.github/issue.py @@ -28,7 +28,8 @@ def fail(msg): print('Not a valid entry', file=sys.stderr) sys.exit(2) - +match = re.search(r'\s*?### Click Sound Name\s*?(\S+)\s*?', issue_body) +mod_id = match.group(1) def send_webhook(mod_id): from urllib import request @@ -45,7 +46,7 @@ def send_webhook(mod_id): Uploaded by: [{issue_author}](https://github.com/{issue_author}) Accepted by: [{comment_author}](https://github.com/{comment_author})''' - title = f'Added `{mod_id}` + title = f'Added `{mod_id}`' description = 'New mod!\n' + description