Skip to content

Instantly share code, notes, and snippets.

@sd
Created May 19, 2011 15:15
Show Gist options
  • Save sd/980994 to your computer and use it in GitHub Desktop.
Save sd/980994 to your computer and use it in GitHub Desktop.
class SEShake < Poundie::Plugin
register :se_shake
match do |message|
message.body =~ /(^\!shake|shakeshack|shake shack)/i and message.body !~ /camera\.jpg/
end
action do |message|
speak "http://www.shakeshack.com/camera.jpg"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment