 # Configuration:
 #   DWEET_THING
 #   DWEET_KEY
+#   DWEET_AUTOSAVE
 #
 # Author:
 #   MrSaints

                robot.brain.save()
            else if dweet.this is 'failed'
                return robot.logger.error dweet.because

            robot.brain.setAutoSave true
            status.connected = true
            status.lastSaved = dweet.with[0].created

            if dweet.with isnt 404
                content = decodeChildren dweet.with[0].content

        lastSaved: false

    robot.brain.setAutoSave false
    robot.brain.resetSaveInterval DWEET_AUTOSAVE

    getData = ->
        dweet_request robot, '/get/latest/dweet', null, (dweet) ->
