Skip to content

Instantly share code, notes, and snippets.

@gmcinnes
Last active December 19, 2015 21:48
Show Gist options
  • Save gmcinnes/6022348 to your computer and use it in GitHub Desktop.
Save gmcinnes/6022348 to your computer and use it in GitHub Desktop.
message :body => /^\/(space)?rofo\s*([\d])*\s*$/ do
phrases = ["Subways, subways, subways!",
"Anything else?",
"I saved a billion dollars.",
"I'm running for mayor in 2014!",
"Gridlock creates pollution. It keeps you away from your families.",
"Cyclists are a pain in the ass.",
"The purpose of marathons is to create revenue for charities.",
"I stopped the Gravy Train!"
]
send_to members phrases.sample
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment