Skip to content
This repository was archived by the owner on Jun 8, 2023. It is now read-only.

Commit b83e674

Browse files
Merge pull request #1219 from frenchtoast747/patch-1
Updated the location of the users list
2 parents a0b179e + 5b2ef0a commit b83e674

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/yell.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = (robot) ->
2121
_ = require 'underscore'
2222

2323
robot.respond /yell (.*)/i, (msg) ->
24-
users = _.reject((_.values _.pluck robot.brain.users, 'name'), (name) -> name == msg.message.user.name)
24+
users = _.reject((_.values _.pluck robot.brain.data.users, 'name'), (name) -> name == msg.message.user.name)
2525
msg.send if users.length then users.join(', ') + ": #{msg.match[1]}" else "If a tree falls in a forest and no one is around to hear it, does it make a sound?"
2626

2727

0 commit comments

Comments
 (0)