Sha256: 2e58839dd92647b2ca187f9b113347e8ec20627c30a0f65b04af70cf34590a55
Contents?: true
Size: 246 Bytes
Versions: 24
Compression:
Stored size: 246 Bytes
Contents
#!/usr/bin/env ruby require 'blather/client' message :chat?, :body => 'exit' do |m| say m.from, 'Exiting ...' shutdown end message :chat?, :body do |m| begin say m.from, eval(m.body) rescue => e say m.from, e.inspect end end
Version data entries
24 entries across 24 versions & 3 rubygems