coyotte508 HF Staff commited on
Commit
3b164f6
·
1 Parent(s): 658bf45

⚗️ Try & make a tweet

Browse files
Files changed (1) hide show
  1. server.ts +2 -0
server.ts CHANGED
@@ -106,6 +106,8 @@ async function lookupTweets() {
106
  .then((r) => r.data);
107
 
108
  console.log(altText);
 
 
109
  }
110
 
111
  async function listen() {
 
106
  .then((r) => r.data);
107
 
108
  console.log(altText);
109
+
110
+ await twitterClient.tweets.createTweet({ reply: { in_reply_to_tweet_id: tweetWithImage!.id }, text: altText });
111
  }
112
 
113
  async function listen() {