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/tweets/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/tweets') diff --git a/modules/tweets/__init__.py b/modules/tweets/__init__.py index edc4fcd2..afe9ea4c 100644 --- a/modules/tweets/__init__.py +++ b/modules/tweets/__init__.py @@ -166,7 +166,7 @@ class Module(ModuleManager.BaseModule): else: event["stderr"].write("No tweet provided to get information about") - @utils.hook("command.regex", pattern=REGEX_TWITTERURL) + @utils.hook("command.regex", pattern=REGEX_TWITTERURL, ignore_action=False) def regex(self, event): """ :command: tweet -- cgit v1.3.1-10-gc9f91