#!/usr/bin/env ruby require "./lib/boty" Boty.locale = ARGV.pop || :en session = Boty::Session.new session.start do |bot| bot.desc I18n.t "template.presence", bot_name: bot.name bot.message(/#{bot.name}/i) do |message| next if message.from? self say I18n.t "template.hello", user_name: message.user.name end end