mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-03-21 17:54:09 -05:00
Updated webhook_handler.pyto support lists
This commit is contained in:
parent
3080117bde
commit
d37744d7a7
|
|
@ -1,5 +1,6 @@
|
|||
import requests
|
||||
|
||||
|
||||
def discord_webhook(url, data):
|
||||
requests.post(url, json=data)
|
||||
def discord_webhook(urls, data):
|
||||
for url in urls:
|
||||
requests.post(url, json=data)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user