do send.stdout event call in bot.trigger func param
This commit is contained in:
parent
a77a985d5d
commit
fab3caa7be
1 changed files with 3 additions and 3 deletions
|
@ -40,6 +40,6 @@ class Module(ModuleManager.BaseModule):
|
|||
server = self.bot.get_server(server_id)
|
||||
channel = server.get_channel(channel_name)
|
||||
|
||||
self.events.on("send.stdout").call(target=channel,
|
||||
module_name="Github", server=server, message=line)
|
||||
self.bot.trigger()
|
||||
self.bot.trigger(lambda: self.events.on("send.stdout"
|
||||
).call(target=channel, module_name="Github",
|
||||
server=server, message=line))
|
||||
|
|
Loading…
Reference in a new issue