Sha256: 6bf6a95369a777b45f358c8c0f1730a6f792be48813baf5f4c39ca63007f387e
Contents?: true
Size: 771 Bytes
Versions: 1
Compression:
Stored size: 771 Bytes
Contents
class Tsa < Linkbot::Plugin Linkbot::Plugin.register('tsa', self, { :message => {:regex => Regexp.new('tsa', 'g'), :handler => :on_message} } ) def self.on_message(message, matches) messages = [ "I'm going to touch your balls with the back of my hand", "We have an opt-out!", "TSA: the McDonalds workers of the government", "Security Theater Professionals", "Sir, you've been added to the \"domestic extremists\" list", "Not all parts of the government are accountable to the public, especially the TSA", "Your junk is safe in our hands", "It's not a grope, it's a freedom pat", "We handle more packages than UPS", ] messages[rand(messages.length)] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
protolink-0.2.8 | example/linkbot/plugins/tsa.rb |