Add 'roll' to dice.py's commands
This commit is contained in:
parent
e237e6d854
commit
d8343fcd6c
|
@ -31,6 +31,7 @@ def nrolls(count, n):
|
||||||
|
|
||||||
|
|
||||||
@hook.command
|
@hook.command
|
||||||
|
@hook.command('roll')
|
||||||
def dice(inp):
|
def dice(inp):
|
||||||
".dice <diceroll> -- simulates dicerolls, e.g. .dice 2d20-d5+4 roll 2 " \
|
".dice <diceroll> -- simulates dicerolls, e.g. .dice 2d20-d5+4 roll 2 " \
|
||||||
"D20s, subtract 1D5, add 4"
|
"D20s, subtract 1D5, add 4"
|
||||||
|
|
Loading…
Reference in New Issue