bot admins should be allowed to use !calias
This commit is contained in:
parent
7a7610acb8
commit
1823371380
1 changed files with 2 additions and 1 deletions
|
@ -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 <alias> <command> [arg1 [arg2 ...]]")
|
||||
@utils.kwarg("usage", "remove <alias>")
|
||||
|
|
Loading…
Reference in a new issue