Sha256: e2afdd7a95ab62835741a6a3cb61333015ea64271e321ea74805a2882172a9ab

Contents?: true

Size: 267 Bytes

Versions: 1

Compression:

Stored size: 267 Bytes

Contents

class Awwyeah < Linkbot::Plugin
    def self.on_message(message, matches)
      "http://i.imgur.com/Y3Q0Z.png"
    end

    Linkbot::Plugin.register('awwwyeah', self,
      {
        :message => {:regex => /a+w+ y+e+a+h+/i, :handler => :on_message}
      }
    )
end

Version data entries

1 entries across 1 versions & 1 rubygems

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