Sha256: 61e876f985e8a92b3f612d51a1d0b642ab8a58dccd43be8e9debb78c13582244
Contents?: true
Size: 265 Bytes
Versions: 37
Compression:
Stored size: 265 Bytes
Contents
#!/usr/bin/env ruby require 'rubygems' 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
37 entries across 37 versions & 2 rubygems