server
-> event["server"]
This commit is contained in:
parent
385a4e3d4e
commit
3bbc4b3b77
1 changed files with 2 additions and 2 deletions
|
@ -236,8 +236,8 @@ class Module(ModuleManager.BaseModule):
|
||||||
hide_prefix = event["channel"].get_setting(
|
hide_prefix = event["channel"].get_setting(
|
||||||
"github-hide-prefix", False)
|
"github-hide-prefix", False)
|
||||||
self.events.on("send.stdout").call(target=event["channel"],
|
self.events.on("send.stdout").call(target=event["channel"],
|
||||||
module_name="Github", server=server, message=result,
|
module_name="Github", server=event["server"],
|
||||||
hide_prefix=hide_prefix)
|
message=result, hide_prefix=hide_prefix)
|
||||||
|
|
||||||
@utils.hook("received.command.ghwebhook", min_args=1, channel_only=True)
|
@utils.hook("received.command.ghwebhook", min_args=1, channel_only=True)
|
||||||
def github_webhook(self, event):
|
def github_webhook(self, event):
|
||||||
|
|
Loading…
Reference in a new issue