re-add lost REST API successful return
This commit is contained in:
parent
5e51086cdd
commit
65a99c7a84
1 changed files with 2 additions and 0 deletions
|
@ -98,6 +98,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
module_name=webhook_name, server=server, message=output,
|
module_name=webhook_name, server=server, message=output,
|
||||||
hide_prefix=hide_prefix)
|
hide_prefix=hide_prefix)
|
||||||
|
|
||||||
|
return {"state": "success", "deliveries": len(targets)}
|
||||||
|
|
||||||
def _prevent_highlight(self, server, channel, s):
|
def _prevent_highlight(self, server, channel, s):
|
||||||
for user in channel.users:
|
for user in channel.users:
|
||||||
if len(user.nickname) == 1:
|
if len(user.nickname) == 1:
|
||||||
|
|
Loading…
Reference in a new issue