From 65a99c7a84b62f512de96105846c35c740534dd8 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 24 Jun 2019 15:21:58 +0100 Subject: re-add lost REST API successful return --- modules/webhooks/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/webhooks') diff --git a/modules/webhooks/__init__.py b/modules/webhooks/__init__.py index 3f9e0c86..a427c917 100644 --- a/modules/webhooks/__init__.py +++ b/modules/webhooks/__init__.py @@ -98,6 +98,8 @@ class Module(ModuleManager.BaseModule): module_name=webhook_name, server=server, message=output, hide_prefix=hide_prefix) + return {"state": "success", "deliveries": len(targets)} + def _prevent_highlight(self, server, channel, s): for user in channel.users: if len(user.nickname) == 1: -- cgit v1.3.1-10-gc9f91