Detect campfire

This commit is contained in:
rnhmjoj 2016-04-14 16:10:26 +02:00
parent a9f26d9cc9
commit b0eac377ce

View File

@ -29,7 +29,7 @@ module.exports = (robot) ->
results = listeners()
unless message.done or (results.reduce (x, y) -> x or y)
if message.room == message.user.id
if message.room == message.user.id or message.user.id is 1
message.text = robot.name + ' ' + message.text
results.push listeners()...
if message not instanceof CatchAllMessage and (results.indexOf true) is -1