#!/usr/bin/env ruby require "./lib/boty" session = Boty::Session.new session.start do |bot| bot.desc "Responds when someone asks for the #{bot.name} presence." bot.message(/#{bot.name}, are you there\?/i) do |message| next if message.from? self say "Ohay <@#{message.user}>! I'm here, that's for sure." end end