Permalink
Browse files

Know he rolls dice

  • Loading branch information...
hemanth committed Nov 5, 2010
1 parent ec4d9ae commit 68ab839b11c5b61e2d63bcd865ee8df64f292874
Showing with 4 additions and 1 deletion.
  1. +4 −1 rgbot.rb
View
@@ -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.