added "im gay" posting script
This commit is contained in:
parent
629abbaf27
commit
41ee3b47e2
15
imgay.py
Normal file
15
imgay.py
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
# This literally just toots out "im gay"
|
||||
# Cron job used: 0 2,14 * * * /home/anna/.local/bin/imgay
|
||||
|
||||
from mastodon import Mastodon
|
||||
|
||||
mastodon = Mastodon(
|
||||
access_token='INSERT ACCESS TOKEN HERE',
|
||||
api_base_url='INSERT YOUR INSTANCE'S DOMAIN HERE'
|
||||
)
|
||||
|
||||
output="im gay"
|
||||
|
||||
mastodon.status_post(status=output, in_reply_to_id=None, media_ids=None, sensitive=False, visibility="public", spoiler_text=None, language=None, idempotency_key=None)
|
Loading…
Reference in a new issue