Hide [Github] prefix in modules/github.py

This commit is contained in:
jesopo 2018-11-07 11:27:34 +00:00
parent 1696492a78
commit 773412cdb0

View file

@ -58,8 +58,8 @@ class Module(ModuleManager.BaseModule):
return True
def _make_trigger(self, channel, server, line):
return lambda: self.events.on("send.stdout").call(
target=channel, module_name="Github", server=server, message=line)
return lambda: self.events.on("send.stdout").call(target=channel,
module_name="Github", server=server, message=line, hide_prefix=True)
def push(self, event, full_name, data):
outputs = []