Merge pull request #9028 from stash86/bt-metrics

add _timeout attribute to discord, otherwise it won't work
This commit is contained in:
Matthias
2023-08-08 18:20:57 +02:00
committed by GitHub

View File

@@ -20,6 +20,7 @@ class Discord(Webhook):
self._format = 'json'
self._retries = 1
self._retry_delay = 0.1
self._timeout = self._config['discord'].get('timeout', 10)
def cleanup(self) -> None:
"""