From 55c354cebb1ee67d0e58d1976fd0a31867426dce Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 26 Sep 2019 14:06:58 +0100 Subject: add !dice as an alias of !roll --- modules/dice.py | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') 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 -- cgit v1.3.1-10-gc9f91