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)
|
server = self.bot.get_server(server_id)
|
||||||
channel = server.get_channel(channel_name)
|
channel = server.get_channel(channel_name)
|
||||||
|
|
||||||
self.events.on("send.stdout").call(target=channel,
|
self.bot.trigger(lambda: self.events.on("send.stdout"
|
||||||
module_name="Github", server=server, message=line)
|
).call(target=channel, module_name="Github",
|
||||||
self.bot.trigger()
|
server=server, message=line))
|
||||||
|
|
Loading…
Reference in a new issue