add !notitle to bypass auto-title

This commit is contained in:
jesopo 2019-11-20 17:59:26 +00:00
parent 72d418a307
commit da1f1fce08

View file

@ -135,3 +135,8 @@ class Module(ModuleManager.BaseModule):
event["stdout"].write(title)
else:
event["stderr"].write("Failed to get title")
@utils.hook("received.command.notitle")
@utils.kwarg("expect_output", False)
def notitle(self, event):
pass