We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd11f63 commit e7747c3Copy full SHA for e7747c3
src/lib/CollectorBot/listener.py
@@ -12,6 +12,8 @@ def __init__(self):
12
super().__init__(**settings.TWITTER_SECRETS)
13
14
def on_status(self, status):
15
+ if hasattr(status, 'extended_tweet') and status.extended_tweet.get('full_text'):
16
+ status.text = status.extended_tweet.get('full_text')
17
if 'collect' in status.text.lower().split(" "):
18
add_status_to_queue.delay(status)
19
logger.info(f"New mention added to worker queue")
0 commit comments