!k should be alias_of !kick

This commit is contained in:
jesopo 2019-09-26 14:06:47 +01:00
parent 8dc415fa4b
commit d6fa786806

View file

@ -49,7 +49,7 @@ class Module(ModuleManager.BaseModule):
raise utils.EventError("No such user") raise utils.EventError("No such user")
@utils.hook("received.command.kick") @utils.hook("received.command.kick")
@utils.hook("received.command.k", alias_of="k") @utils.hook("received.command.k", alias_of="kick")
@utils.kwarg("min_args", 1) @utils.kwarg("min_args", 1)
@utils.kwarg("require_mode", "o") @utils.kwarg("require_mode", "o")
@utils.kwarg("require_access", "kick") @utils.kwarg("require_access", "kick")