From 3772ee72a8f5ccab261503ee7c360522dd6992f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Touati?= Date: Wed, 1 May 2024 12:21:53 +0200 Subject: [PATCH] Log more info about fetched tweets --- 5m5v-bot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/5m5v-bot.js b/5m5v-bot.js index 84e7df7..4b3d566 100644 --- a/5m5v-bot.js +++ b/5m5v-bot.js @@ -54,8 +54,8 @@ let twitterApiKey = null; for await (const tweet of rettiwt.tweet.stream(streamFilter, pollingIntervalMs)) { const matchingLanguages = tweetFilter.matches(tweet) || []; - console.log('Found tweet, matching languages:', matchingLanguages); - + console.log('Found tweet', tweet.id, tweet.fullText, matchingLanguages); + for (const language of matchingLanguages) { try { if (!isDryRun) {