add !b as an alias of !ban
This commit is contained in:
parent
9194925739
commit
5b538eb5b6
1 changed files with 1 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue