diff options
| author | 2019-07-09 21:24:35 +0100 | |
|---|---|---|
| committer | 2019-07-09 21:24:35 +0100 | |
| commit | b7fa8a2f52736f82fdbaaa19df1281015d789f74 (patch) | |
| tree | dffb57fab3613313fc66a384b6e823e5267d90d7 /modules | |
| parent | 'evnet' -> 'event' typo (diff) | |
| signature | ||
add help and channel_only kwargs to !ops
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/ops.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/ops.py b/modules/ops.py index 1cc2aff9..0f354526 100644 --- a/modules/ops.py +++ b/modules/ops.py @@ -7,6 +7,8 @@ from src import ModuleManager, utils "Enable/disable command that highlights all online channel ops")) class Module(ModuleManager.BaseModule): @utils.hook("received.command.ops") + @utils.kwarg("channel_only", True) + @utils.kwarg("help", "Alert the ops in the current channel") def ops(self, event): if event["target"].get_setting("op-ping", False): ops = [] |
