 
 save = (robot) ->
     robot.brain.data.points = points
-    robot.brain.data.entrants = entrants
 
 module.exports = (robot) ->
     robot.brain.on 'loaded', ->

        if points[username] >= cost and raffle is on and entered[username] is false
            entered[username] = true
            points[username] -= cost
            entrants.push(entered[username])
            save(robot)
            msg.send "Test: raffle entered."
        else

    # Check entrants. Temp command for testing
    robot.respond /entrants$/i, (msg) ->
        if robot.auth.hasRole(msg.envelope.user, ['admin'])
            tickets = [username for username in bought]
            msg.send "Entrants for this raffle: " + tickets
            msg.send "Inspection: #{Util.inspect(bought)}"
            return
