Created
May 9, 2012 17:13
-
-
Save gregmac/2646830 to your computer and use it in GitHub Desktop.
Hubot script for subway's sub of the day
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Subway sub of the day | |
# | |
# subway me - See today's sub of the day | |
module.exports = (robot) -> | |
#"Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday" | |
subofday = ["Oven Roasted Chicken Breast","Steak & Cheese","Subway Melt","Sweet Onion Chicken Teryaki","Turkey Breast","Tuna","Subway Club"] | |
robot.respond /(subway|sub of (the )?day)/i, (msg) -> | |
msg.reply subofday[(new Date()).getDay()] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment