From d37744d7a7d156b039a22a89a24d46fd10a54138 Mon Sep 17 00:00:00 2001 From: ZKWolf Date: Wed, 14 Feb 2024 00:37:09 +0100 Subject: [PATCH] Updated webhook_handler.pyto support lists --- src/logic/webhook_handler.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/logic/webhook_handler.py b/src/logic/webhook_handler.py index 5e86a9d..bb2f290 100644 --- a/src/logic/webhook_handler.py +++ b/src/logic/webhook_handler.py @@ -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)