aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2019-09-26 14:06:58 +0100
committerGravatar jesopo2019-09-26 14:06:58 +0100
commit55c354cebb1ee67d0e58d1976fd0a31867426dce (patch)
treef85a74804340be6ac3005041617e7909841a75dc /modules
parent!k should be alias_of !kick (diff)
signature
add !dice as an alias of !roll
Diffstat (limited to 'modules')
-rw-r--r--modules/dice.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/dice.py b/modules/dice.py
index c808490e..4e8eecd5 100644
--- a/modules/dice.py
+++ b/modules/dice.py
@@ -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