We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6b0784 commit d19ecf4Copy full SHA for d19ecf4
scripts/leaderboard.coffee
@@ -69,7 +69,9 @@ module.exports = (robot) ->
69
updateScore = (word, field, username) ->
70
posRegex = /\+\+/
71
negRegex = /\-\-/
72
- names = Object.keys(robot.brain.data.users)
+ users = robot.brain.data.users
73
+ names = Object.keys(users).map (key) => users[key].name
74
+ console.log(names, "abc")
75
76
# if there is to be `plus` in score
77
if word.indexOf("++") >= 0
0 commit comments