mirror of
https://github.com/KevinMidboe/waka-box.git
synced 2025-10-29 18:00:21 +00:00
Add favorite and retweet count
This commit is contained in:
2
index.js
2
index.js
@@ -51,7 +51,7 @@ async function updateGist(tweet) {
|
||||
gist_id: gistId,
|
||||
files: {
|
||||
[filename]: {
|
||||
'filename': `🐦 @${twitterHandle} - ${timeAgo} ago`,
|
||||
'filename': `@${twitterHandle} - ${timeAgo} ago | ❤ ${tweet.favorite_count} | 🔁 ${tweet.retweet_count}`,
|
||||
content: wrap(tweet.text)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user