From 98e1202c780faf7b3fab1c49e87581a857376d5c Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 16 Jun 2019 18:40:25 +0100 Subject: Allow command.regex hooks to opt-in to being triggered from a /me closes #68 --- modules/youtube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/youtube.py') diff --git a/modules/youtube.py b/modules/youtube.py index 8742ad65..2b89d021 100644 --- a/modules/youtube.py +++ b/modules/youtube.py @@ -130,7 +130,7 @@ class Module(ModuleManager.BaseModule): else: event["stderr"].write("No search phrase provided") - @utils.hook("command.regex", + @utils.hook("command.regex", ignore_action=False, priority=EventManager.PRIORITY_LOW) def channel_message(self, event): """ -- cgit v1.3.1-10-gc9f91