From da1f1fce08ba2876897af6adf31cbf1daf661d57 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 20 Nov 2019 17:59:26 +0000 Subject: [PATCH] add !notitle to bypass auto-title --- modules/title.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/title.py b/modules/title.py index 96a9ee0b..d02f7249 100644 --- a/modules/title.py +++ b/modules/title.py @@ -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