Changes

Official Discord bots

1,643 bytes added, 00:50, 18 February 2021
== Documentation ==
* '''/r xdy''' or '''/roll xdy''': Standard, basic dice rolling command. '''x'''d'''y'''. Replace '''x''' with number of dice and '''y''' with number of faces per dice. SnakeEyes will return the individual results of each die.** Not compatible with math operators. Using the multiplication sign '''*''' will result in a bug (see [[Official Discord bots#Known SnakeEyes bugs|known bugs]]; please ignore the results.** Example: '''/r 2d6''' returns '''[3, 4]'''.* '''/rt xdy''': Rolls dice and only outputs the total sum.** Compatible with math operators.** Example: '''/rt 2d6''' returns '''7'''.* '''/rr n xdy''': Repeat rolls. Rolls '''x'''d'''y''' '''n''' times and displays the results for each die.** Not compatible with math operators. The same multiplication bug as described above applies.** Example: '''/rr 3 2d6''' returns '''[2, 3], [2, 4], [5, 3]'''* '''/rrt n xdy''': Repeat rolls with totals. Rolls '''x'''d'''y''' '''n''' times and displays the totals for each group of dice. ** Compatible with math operators.** Example: '''/rrt 3 2d6''' returns '''5, 6, 3'''* '''Math operators:''' You can combine math operators with any of the commands featuring a '''t''' in it. Valid operators are '''+ - * /''' and '''parentheses (WIP)'''. ==== Known SnakeEyes bugs ====* Multiplication produces a strange result when used with '''/r'''; it will roll the dice once then apply the result to as many dice as the number specified after the '''*''' sign.** Example: When rolling '''1d10*5''', SnakeEyes might return '''[6, 6, 6, 6, 6]'''.  If you think you've spotted a bug or unexpected behavior, send a message to '''Tempest#2121'''.
Bureaucrat, administrator
15,672
edits