From fad4715b5c8b439c1217fecc6ad3a5d629386fdd Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 12 Nov 2018 23:00:51 +0000 Subject: [PATCH] Add "prefixed-commands" to !channelset --- modules/commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/commands.py b/modules/commands.py index d06c7f46..39ff4564 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -94,6 +94,9 @@ def _command_method_validate(s): @utils.export("channelset", {"setting": "commands", "help": "Disable/enable responding to commands in-channel", "validate": utils.bool_or_none}) +@utils.export("channelset", {"setting": "prefixed-commands", + "help": "Disable/enable responding to prefixed commands in-channel", + "validate": utils.bool_or_none}) class Module(ModuleManager.BaseModule): @utils.hook("new.user|channel") def new(self, event):