aboutsummaryrefslogtreecommitdiff
path: root/modules/tweets/__init__.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-16 18:40:25 +0100
committerGravatar jesopo2019-06-16 18:40:25 +0100
commit98e1202c780faf7b3fab1c49e87581a857376d5c (patch)
tree94b0259aa64363566fd07ee89c0e3ba7a88cfee8 /modules/tweets/__init__.py
parentDon't fail get_kwarg when self.kwarg[name] is falsey (diff)
signature
Allow command.regex hooks to opt-in to being triggered from a /me
closes #68
Diffstat (limited to 'modules/tweets/__init__.py')
-rw-r--r--modules/tweets/__init__.py2
1 files changed, 1 insertions, 1 deletions
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