From 324ea508085a2dc469136c76ea25e29f8c666435 Mon Sep 17 00:00:00 2001 From: Davide Alberani Date: Sun, 12 May 2019 09:53:48 +0200 Subject: [PATCH] mark posts as sensitive --- mastodon-bot/fortunes-spam-bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mastodon-bot/fortunes-spam-bot.py b/mastodon-bot/fortunes-spam-bot.py index 95e6a1a..e9f9f88 100755 --- a/mastodon-bot/fortunes-spam-bot.py +++ b/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) + mastodon.status_post(spam, sensitive=True) if __name__ == '__main__':