forked from github/hubot-scripts
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# The Magic Eight ball | ||
# | ||
# eightball <query> - Ask the magic eight ball a question | ||
# | ||
|
||
ball = [ | ||
"It is certain", | ||
"It is decidedly so", | ||
"Without a doubt", | ||
"Yes – definitely", | ||
"You may rely on it", | ||
"As I see it, yes", | ||
"Most likely", | ||
"Outlook good", | ||
"Signs point to yes", | ||
"Yes", | ||
"Reply hazy, try again", | ||
"Ask again later", | ||
"Better not tell you now", | ||
"Cannot predict now", | ||
"Concentrate and ask again", | ||
"Don't count on it", | ||
"My reply is no", | ||
"My sources say no", | ||
"Outlook not so good", | ||
"Very doubtful", | ||
] | ||
|
||
module.exports = (robot) -> | ||
robot.respond /(eightball|8ball)(.*)/i, (msg) -> | ||
msg.send msg.random ball | ||
|
||
|