Introducing the BotBase gem

require 'botbase-module-rsc'
require 'botbase-module-demo'
require 'botbase'

bot = BotBase.new('http://www.jamesrobertson.eu/botbase.conf')
bot.received 'tim'
#=> "<job>2016-07-30 15:19:58 +0100</job>"

bot.received 'hello?'
#=> "hello user01, how can I help you?"

Resources

See also