Skip to content

Commit

Permalink
Log more info about fetched tweets
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeto143 committed May 1, 2024
1 parent 8129f25 commit 3772ee7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 5m5v-bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 3772ee7

Please sign in to comment.