Skip to content
Browse files

Know he rolls dice

  • Loading branch information...
1 parent ec4d9ae commit 68ab839b11c5b61e2d63bcd865ee8df64f292874 @hemanth committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 rgbot.rb
View
5 rgbot.rb
@@ -69,7 +69,10 @@ def karma(msg)
end
end
-
+ def roll(msg)
+ self.deliver(@msg,(1..6).to_a.choice)
+ end
+
def main
while (true) do
@jabber.received_messages do |@msg|

0 comments on commit 68ab839

Please sign in to comment.
Something went wrong with that request. Please try again.