Sha256: 3263fd80430df2139093cee273a6642f501c95a854b2fb338c31105451b016e1

Contents?: true

Size: 264 Bytes

Versions: 1

Compression:

Stored size: 264 Bytes

Contents

class Fuu < Linkbot::Plugin
    def self.on_message(message, matches)
      "http://imgur.com/M4KFN.jpg"
    end
    
    Linkbot::Plugin.register('fuuu', self,
      {
        :message => {:regex => Regexp.new('FUUU'), :handler => :on_message}
      }
    )
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
protolink-0.2.8 example/linkbot/plugins/fuuu.rb