Help: display on the right place, not always to private conversation
This commit is contained in:
parent
35ba5c03c9
commit
ecd9457691
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class Bot(threading.Thread):
|
||||||
def _help_msg(msg):
|
def _help_msg(msg):
|
||||||
"""Parse and response to help messages"""
|
"""Parse and response to help messages"""
|
||||||
from more import Response
|
from more import Response
|
||||||
res = Response(channel=msg.frm)
|
res = Response(channel=msg.to_response)
|
||||||
if len(msg.args) >= 1:
|
if len(msg.args) >= 1:
|
||||||
if msg.args[0] in self.modules:
|
if msg.args[0] in self.modules:
|
||||||
if len(msg.args) >= 2:
|
if len(msg.args) >= 2:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue