Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (10 sloc) 286 Bytes

Usage:

beige  = require 'beigebox'
config = './BeigeBox.config'

beige.connect config, (conn) -> conn.on 'call', (call) ->

    call.answer ->

      call.say "Hello!", ->
        call.ask "What's your name?", (name) -> 
          call.say "Welcome, #{ name }!"