mark posts as sensitive
This commit is contained in:
parent
cc4afab4eb
commit
324ea50808
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ def serve(token):
|
||||||
spam = getSpam()
|
spam = getSpam()
|
||||||
print('serving:\n%s' % spam)
|
print('serving:\n%s' % spam)
|
||||||
mastodon = Mastodon(access_token=token, api_base_url=API_URL)
|
mastodon = Mastodon(access_token=token, api_base_url=API_URL)
|
||||||
mastodon.status_post(spam)
|
mastodon.status_post(spam, sensitive=True)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
Loading…
Reference in a new issue