Skip to content
Browse files

Added comments to roll method

  • Loading branch information...
1 parent 565f0fe commit 0a4c3a3b61d66e16d3102a50ae06b1b7a0cb1392 @hemanth committed Nov 6, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 rgbot.rb
View
1 rgbot.rb
@@ -123,6 +123,7 @@ def karma(msg)
end
def roll(msg)
+ # Return a random choice from an array of 1-6 that is simulating a dice
self.deliver(@msg,(1..6).to_a.choice)
end

0 comments on commit 0a4c3a3

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