Skip to content

Commit b78432e

Browse files
committed
LOGS
1 parent 86ee02a commit b78432e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/pingpong.coffee

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ module.exports = (robot) ->
3636

3737
show_player_stats = (msg) ->
3838
player = msg.match[0]
39+
msg.send player
3940

4041
wins = 0
4142
redisClient.hget player, "wins", (err, value) ->
@@ -54,6 +55,10 @@ show_player_stats = (msg) ->
5455
show_match_stats = (msg) ->
5556
player1 = msg.match[0]
5657
player2 = msg.match[2]
58+
msg.send player1
59+
msg.send player2
60+
msg.send msg.match[1]
61+
5762

5863
wins = 0
5964
redisClient.hget player1, player2, (err, value) ->

0 commit comments

Comments
 (0)