mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Merge branch 'abuselog_webhookURL' into 'testing'
Add `abuselog_webhookURL` See merge request piotrex43/RcGcDw!106
This commit is contained in:
commit
5e74c15eaa
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue