diff options
| author | 2019-11-20 17:59:26 +0000 | |
|---|---|---|
| committer | 2019-11-20 17:59:26 +0000 | |
| commit | da1f1fce08ba2876897af6adf31cbf1daf661d57 (patch) | |
| tree | 2dc2dca6b6f8123d2e39a1682d91948674ea6566 /modules/title.py | |
| parent | pattern-url isn't used anymore (diff) | |
| signature | ||
add !notitle to bypass auto-title
Diffstat (limited to 'modules/title.py')
| -rw-r--r-- | modules/title.py | 5 |
1 files changed, 5 insertions, 0 deletions
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 |
