Created
April 28, 2016 14:41
-
-
Save JonathanZWhite/4fa47de5732840224e8e2abd05ceaaed to your computer and use it in GitHub Desktop.
randomMessage.js
This file contains hidden or 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
var fallbackMessages = [ | |
'Sorry, not sure what you just said.', | |
'Uh oh! Try again.', | |
'Hm... Sorry I\'m not that smart yet. Try again!' | |
]; | |
var message = messages[Math.floor(Math.random() * messages.length)]; | |
bot.say(message); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment