add !b as an alias of !ban

This commit is contained in:
jesopo 2019-09-12 22:20:36 +01:00
parent 9194925739
commit 5b538eb5b6

View file

@ -90,6 +90,7 @@ class Module(ModuleManager.BaseModule):
channel.send_unban(event["hostmask"])
@utils.hook("received.command.ban")
@utils.hook("received.command.b", alias_of="ban")
@utils.kwarg("min_args", 1)
@utils.kwarg("require_mode", "o")
@utils.kwarg("require_access", "ban")