Browse Source

mark posts as NSFW

Davide Alberani 3 years ago
parent
commit
ee17d62539
1 changed files with 1 additions and 1 deletions
  1. 1 1
      mastodon-bot/fortunes-spam-bot.py

+ 1 - 1
mastodon-bot/fortunes-spam-bot.py

@@ -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__':