Description Usage Arguments Value Examples
Takes a Dungeons & Dragons style dice string, parses it, and rolls it
1 |
dice_string |
A Dungeons & Dragons style dice string, e.g. "2d4" to roll two four-sided dice and add the result |
verbose |
Show the details of the roll in the console? |
seed |
(optional) Random number seed to use |
A number representing the result of the die roll
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.