Exported diceroll function.
Fixed #37: karma can now be given randomly.