Skip to content

Commit

Permalink
adding unfurl_links to message request
Browse files Browse the repository at this point in the history
  • Loading branch information
vsoch authored Nov 4, 2021
1 parent 68f712f commit 9c3cc67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion find-updates.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def help(return_code=0):
for name in new:
choice = random.choice(icons)
message = 'New Job! %s: %s' % (choice, name)
data = {"text": message}
data = {"text": message, "unfurl_links": True}
print(data)
response = requests.post(webhook, headers=headers, data=json.dumps(data))
if response.status_code not in [200, 201]:
Expand Down

0 comments on commit 9c3cc67

Please sign in to comment.