Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
coopeeo authored Mar 24, 2024
1 parent 4fd7123 commit 4b093f4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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


Expand Down

0 comments on commit 4b093f4

Please sign in to comment.