aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGravatar jesopo2018-11-12 23:00:51 +0000
committerGravatar jesopo2018-11-12 23:00:51 +0000
commitfad4715b5c8b439c1217fecc6ad3a5d629386fdd (patch)
treebc11f746e902dedfbb509754a37478f1d2b3cb7d /modules
parentAdd a way to tell bitbot to only response to highlight-based commands (e.g. "... (diff)
signature
Add "prefixed-commands" to !channelset
Diffstat (limited to 'modules')
-rw-r--r--modules/commands.py3
1 files changed, 3 insertions, 0 deletions
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):