Sha256: f4d7f00e461d0b503d9d50813ff03a2941bc58477b791f407c70a118ff09bfe1
Contents?: true
Size: 256 Bytes
Versions: 1
Compression:
Stored size: 256 Bytes
Contents
class Shutup < Linkbot::Plugin def self.on_message(message, matches) "No, YOU #{matches[0]}" end Linkbot::Plugin.register('shutup', self, { :message => {:regex => /(.*), linkbot/, :handler => :on_message} } ) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
protolink-0.2.8 | example/linkbot/plugins/shutup.rb |