Help: display on the right place, not always to private conversation

This commit is contained in:
nemunaire 2015-09-19 14:52:18 +02:00
parent 35ba5c03c9
commit ecd9457691

View file

@ -81,7 +81,7 @@ class Bot(threading.Thread):
def _help_msg(msg):
"""Parse and response to help messages"""
from more import Response
res = Response(channel=msg.frm)
res = Response(channel=msg.to_response)
if len(msg.args) >= 1:
if msg.args[0] in self.modules:
if len(msg.args) >= 2: