diff options
| author | 2019-09-12 22:20:36 +0100 | |
|---|---|---|
| committer | 2019-09-12 22:20:36 +0100 | |
| commit | 5b538eb5b6f071f66cce2809500c0fea2082b64a (patch) | |
| tree | 53e4d93ea10a9394caae6cf70ff2b3d5bc0dd4bb | |
| parent | set a bitbot-specific useragent for fediverse requests (diff) | |
| signature | ||
add !b as an alias of !ban
| -rw-r--r-- | modules/channel_op.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py index 4cef0f99..1a8d7ee1 100644 --- a/modules/channel_op.py +++ b/modules/channel_op.py @@ -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") |
