Response sender is not needed anymore, private channels are now better handled
This commit is contained in:
parent
5e202063d4
commit
772d68a34d
32 changed files with 161 additions and 182 deletions
|
|
@ -35,7 +35,7 @@ def go(what, msg):
|
|||
|
||||
if what == "synonymes":
|
||||
if len(synos) > 0:
|
||||
res = Response(msg.sender, best, channel=msg.channel,
|
||||
res = Response(best, channel=msg.channel,
|
||||
title="Synonymes de %s" % word)
|
||||
res.append_message(synos)
|
||||
return res
|
||||
|
|
@ -44,7 +44,7 @@ def go(what, msg):
|
|||
|
||||
elif what == "antonymes":
|
||||
if len(anton) > 0:
|
||||
res = Response(msg.sender, anton, channel=msg.channel,
|
||||
res = Response(anton, channel=msg.channel,
|
||||
title="Antonymes de %s" % word)
|
||||
return res
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue