You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 8, 2023. It is now read-only.
Apparently the location of the users list has changed and this script has not been updated to show that. The help for this script also says that it will mention every person in the room. This will in fact mention everyone on the server.
Copy file name to clipboardExpand all lines: src/scripts/yell.coffee
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ module.exports = (robot) ->
21
21
_=require'underscore'
22
22
23
23
robot.respond/yell (.*)/i, (msg) ->
24
-
users=_.reject((_.values_.pluckrobot.brain.users, 'name'), (name) -> name ==msg.message.user.name)
24
+
users=_.reject((_.values_.pluckrobot.brain.data.users, 'name'), (name) -> name ==msg.message.user.name)
25
25
msg.sendifusers.lengththenusers.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?"
0 commit comments