Fix wrong assumption
This commit is contained in:
parent
b0eac377ce
commit
ec8bcd6e3d
@ -106,7 +106,7 @@ module.exports = (robot) ->
|
||||
res.send 'dovrei essere a ' + body
|
||||
|
||||
robot.respond /con chi stai parlando/i, (res) ->
|
||||
if res.message.user.name is res.message.room
|
||||
if res.message.user.id is res.message.room
|
||||
res.send "sto parlando con te, #{sender res}"
|
||||
else
|
||||
res.send "sto parlando in #{res.message.room}, #{sender res}"
|
||||
|
Loading…
Reference in New Issue
Block a user