From b7fa8a2f52736f82fdbaaa19df1281015d789f74 Mon Sep 17 00:00:00 2001 From: jesopo Date: Tue, 9 Jul 2019 21:24:35 +0100 Subject: [PATCH] add help and channel_only kwargs to !ops --- modules/ops.py | 2 ++ 1 file changed, 2 insertions(+) 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 = []