mark posts as sensitive

This commit is contained in:
Davide Alberani 2019-05-12 09:53:48 +02:00
parent cc4afab4eb
commit 324ea50808

View file

@ -30,7 +30,7 @@ def serve(token):
spam = getSpam()
print('serving:\n%s' % spam)
mastodon = Mastodon(access_token=token, api_base_url=API_URL)
mastodon.status_post(spam)
mastodon.status_post(spam, sensitive=True)
if __name__ == '__main__':