add !dice as an alias of !roll
This commit is contained in:
parent
d6fa786806
commit
55c354cebb
1 changed files with 1 additions and 0 deletions
|
@ -9,6 +9,7 @@ RE_MODIFIERS = re.compile("([-+]\d+)")
|
|||
|
||||
class Module(ModuleManager.BaseModule):
|
||||
@utils.hook("received.command.roll", min_args=1)
|
||||
@utils.hook("received.command.dice", alias_of="roll")
|
||||
def roll_dice(self, event):
|
||||
"""
|
||||
:help: Roll some dice, DND style
|
||||
|
|
Loading…
Reference in a new issue