examples/execute.rb in sprsquish-blather-0.3.4 vs examples/execute.rb in sprsquish-blather-0.4.0
- old
+ new
@@ -1,12 +1,7 @@
#!/usr/bin/env ruby
require 'blather/client'
-require 'blather/client/pubsub'
-
-setup 'echo@jabber.local', 'echo'
-
-Blather::LOG.level = Logger::DEBUG
message :chat?, :body => 'exit' do |m|
say m.from, 'Exiting ...'
shutdown
end