diff --git a/modules/aliases.py b/modules/aliases.py index ccb4a980..4177eab1 100644 --- a/modules/aliases.py +++ b/modules/aliases.py @@ -56,10 +56,11 @@ class Module(ModuleManager.BaseModule): event["command"].args = self._arg_replace(alias_args, event["command"].args.split(" ")) - @utils.hook("received.command.alias", permission="alias") + @utils.hook("received.command.alias") @utils.hook("received.command.calias", require_mode="o", require_access="alias") @utils.kwarg("min_args", 1) + @utils.kwarg("permission", "alias") @utils.kwarg("usage", "list") @utils.kwarg("usage", "add [arg1 [arg2 ...]]") @utils.kwarg("usage", "remove ")