diff options
| author | 2019-06-24 15:21:58 +0100 | |
|---|---|---|
| committer | 2019-06-24 15:21:58 +0100 | |
| commit | 65a99c7a84b62f512de96105846c35c740534dd8 (patch) | |
| tree | 2b30ba0f3e845543174aab43e0674ee5db4fa32f /modules | |
| parent | Fix typos, missed imports, wrong namespaces, etc (diff) | |
| signature | ||
re-add lost REST API successful return
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/webhooks/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
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: |
