mark posts as NSFW

This commit is contained in:
Davide Alberani 2019-05-12 10:09:41 +02:00
parent 324ea50808
commit ee17d62539

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, sensitive=True)
mastodon.status_post(spam, sensitive=True, spoiler_text='NSFW')
if __name__ == '__main__':