WRYRHook: add timeout for request to discord

This commit is contained in:
norohind committed 2024-10-09 21:11:16 +02:00
1 parent 230fb9b1ba
commit 4f52c48c34
1 file changed
+1
+1
View File
@@ -44,6 +44,7 @@ def notify_discord(message: dict) -> None:
discord_request: requests.Response = requests.post(
url=hookURL,
json=message,
timeout=60
)
try: