From 31367b2b5d81a9f53a208312cbc0fee8efe01ff5 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 9 Feb 2019 10:56:06 +0000 Subject: Eat youtube URLs on LOW priority, switch auto-title to MONITOR priority --- modules/title.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/title.py') 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): -- cgit v1.3.1-10-gc9f91