Add "prefixed-commands" to !channelset
This commit is contained in:
parent
0c8678d44f
commit
fad4715b5c
1 changed files with 3 additions and 0 deletions
|
@ -94,6 +94,9 @@ def _command_method_validate(s):
|
||||||
@utils.export("channelset", {"setting": "commands",
|
@utils.export("channelset", {"setting": "commands",
|
||||||
"help": "Disable/enable responding to commands in-channel",
|
"help": "Disable/enable responding to commands in-channel",
|
||||||
"validate": utils.bool_or_none})
|
"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):
|
class Module(ModuleManager.BaseModule):
|
||||||
@utils.hook("new.user|channel")
|
@utils.hook("new.user|channel")
|
||||||
def new(self, event):
|
def new(self, event):
|
||||||
|
|
Loading…
Reference in a new issue