lib/lita/handlers/eightball.rb in lita-eightball-1.0.0 vs lib/lita/handlers/eightball.rb in lita-eightball-1.0.1
- old
+ new
@@ -6,11 +6,11 @@
RESPONSES = [
"It is certain",
"It is decidedly so",
"Without a doubt",
- "Yes – definitely",
+ "Yes - definitely",
"You may rely on it",
"As I see it, yes",
"Most likely",
"Outlook good",
"Signs point to yes",
@@ -25,13 +25,11 @@
"My sources say no",
"Outlook not so good",
"Very doubtful"
]
- route %r{8ball|eightball}i, :shake, command: true
+ route %r{8ball|eightball}i, :shake, command: true, help: { "8ball" => "Shakes the eightball" }
- route %r{!8ball}i, :shake
-
def shake(response)
response.reply RESPONSES.shuffle.first
end
end
\ No newline at end of file