return tweet id from twitter

This commit is contained in:
2022-06-13 15:16:29 -05:00
parent c1a13d71f7
commit 2df45a15f8

View File

@@ -60,6 +60,7 @@ class WordleTweet:
wordle_day: wordlinator.utils.WordleDay
raw_score: int
user: TwitterUser
tweet_id: str
@property
def score(self):
@@ -86,6 +87,7 @@ class WordleTweet:
return cls(
created_at=created,
text=tweet["text"],
tweet_id=tweet["id"],
wordle_day=wordlinator.utils.WordleDay.from_wordle_no(wordle_no),
raw_score=score,
user=twitter_user,