Sha256: ce2152720ad93142e2f6758e939091ce65ecd17995ad4a1e6d6de167797f49a8
Contents?: true
Size: 441 Bytes
Versions: 2
Compression:
Stored size: 441 Bytes
Contents
require 'mobb' set :service, 'slack' set :name, "example bot" on "hello" do "Hi! I'm #{settings.name}" end # Warning this is bad implementation # inifinity loop happend # TODO: now broken #receive "Yo", laziness: true do # "Yo" #end receive /hey (\w+)/ do |someone| "hey #{someone}, waz up?" end # Need dest_to condition to cron/every task every :day, at: '12:30', dest_to: 'times_kinoppyd' do 'Stund up daily meeting time!' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mobb-0.3.1 | examples/slack_bot.rb |
mobb-0.3.0 | examples/slack_bot.rb |