add index debug
This commit is contained in:
@@ -39,6 +39,7 @@ module.exports = (robot) ->
|
||||
res.send "User is currently on rotation"
|
||||
else
|
||||
index = rotation.indexOf(res.match[1]);
|
||||
res.send "index #{index}"
|
||||
if index > -1
|
||||
rotation.splice(index, 1)
|
||||
robot.brain.set('rotation', rotation)
|
||||
|
||||
Reference in New Issue
Block a user