Generate public rather than unlisted toots because reasons, idk
This commit is contained in:
parent
3a79c96a3c
commit
64edf6aa6e
1 changed files with 2 additions and 2 deletions
4
gen.py
4
gen.py
|
@ -326,8 +326,8 @@ if media != None:
|
||||||
#this is an image post!
|
#this is an image post!
|
||||||
mediaID = client.media_post(media, description = media_description)
|
mediaID = client.media_post(media, description = media_description)
|
||||||
client.status_post(media_description.replace("\n", " "),
|
client.status_post(media_description.replace("\n", " "),
|
||||||
media_ids = [mediaID], visibility = "unlisted")
|
media_ids = [mediaID], visibility = "public")
|
||||||
print("Created media toot: " + media_description)
|
print("Created media toot: " + media_description)
|
||||||
else:
|
else:
|
||||||
client.status_post(status = toot, visibility = "unlisted")
|
client.status_post(status = toot, visibility = "public")
|
||||||
print("Created toot: {}".format(toot))
|
print("Created toot: {}".format(toot))
|
||||||
|
|
Loading…
Reference in a new issue