Detect campfire
This commit is contained in:
parent
ad89098531
commit
23b1119f8e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user