Changes message in reply tweet.

This commit is contained in:
Lasse Studion 2022-12-17 20:20:58 +01:00
parent 03b19b561d
commit b122b58290

View File

@ -99,5 +99,5 @@ class API:
def reply_with_url(self, tweet_id, url, username): def reply_with_url(self, tweet_id, url, username):
params = {"reply": {"in_reply_to_tweet_id": str(tweet_id)}, "text": f"Hi {username}! Download a list of Mastodon users that you are following on Twitter: {url}"} params = {"reply": {"in_reply_to_tweet_id": str(tweet_id)}, "text": f"Hi {username}! Download a list of Mastodon users that you are following on Twitter: {url} Take that csv-file and import in Mastodon (Settings > Import)."}
self.post_tweet(params=params) self.post_tweet(params=params)