From f48b0ad6953cc001c0a3a949167bdb5d1fa40950 Mon Sep 17 00:00:00 2001 From: MarkusRost <2701034-MarkusRost@users.noreply.gitlab.com> Date: Mon, 19 Sep 2022 11:48:34 +0000 Subject: [PATCH] Add `abuselog_webhookURL` --- src/rcgcdw.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rcgcdw.py b/src/rcgcdw.py index 4fb71e8..caece77 100644 --- a/src/rcgcdw.py +++ b/src/rcgcdw.py @@ -279,7 +279,7 @@ def abuselog_processing(entry): action = "abuselog" if action in settings["ignored"]: return - context = Context(settings["appearance"]["mode"], "abuselog", settings["webhookURL"], client, formatters_i18n, settings) + context = Context(settings["appearance"]["mode"], "abuselog", settings.get("abuselog_webhookURL", settings["webhookURL"]), client, formatters_i18n, settings) context.event = action run_hooks(pre_hooks, context, entry) try: