|
@@ -33,7 +33,7 @@ def _send(send_json):
|
|
|
for webhook_key in webhooks:
|
|
for webhook_key in webhooks:
|
|
|
webhook = webhooks[webhook_key]
|
|
webhook = webhooks[webhook_key]
|
|
|
if 'Alert: 10 mins' in send_json['content'] and webhook_key == 'Unrelenting':
|
|
if 'Alert: 10 mins' in send_json['content'] and webhook_key == 'Unrelenting':
|
|
|
- send_json["content"] = "@here " + send_json['content']
|
|
|
|
|
|
|
+ send_json["content"] = "@NPC " + send_json['content']
|
|
|
pprint(send_json)
|
|
pprint(send_json)
|
|
|
url = base_url+webhook
|
|
url = base_url+webhook
|
|
|
response = requests.post(url, json=send_json)
|
|
response = requests.post(url, json=send_json)
|