diff options
| author | 2019-02-09 10:56:06 +0000 | |
|---|---|---|
| committer | 2019-02-09 10:56:06 +0000 | |
| commit | 31367b2b5d81a9f53a208312cbc0fee8efe01ff5 (patch) | |
| tree | f425357bb432b35c51aa24c17e636d3ad3ce17f7 /modules/title.py | |
| parent | Actually return title text, not html Tag object (title.py) (diff) | |
| signature | ||
Eat youtube URLs on LOW priority, switch auto-title to MONITOR priority
Diffstat (limited to 'modules/title.py')
| -rw-r--r-- | modules/title.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/title.py b/modules/title.py index a5a302ee..99dae34f 100644 --- a/modules/title.py +++ b/modules/title.py @@ -19,7 +19,8 @@ class Module(ModuleManager.BaseModule): else: return None - @utils.hook("received.message.channel") + @utils.hook("received.message.channel", + priority=EventManager.PRIORITY_MONITOR) def channel_message(self, event): match = re.search(REGEX_URL, event["message"]) if match and event["channel"].get_setting("auto-title", False): |
