A pretty simple Python3 script which posts random lines from a .txt file to a Mastodon account. Originally named spn-bot because it was made to post quotes from the TV series Supernatural.
Uses Mastodon.py, a fantastic Mastodon API wrapper: http://mastodonpy.readthedocs.io/
- Install Mastodon.py:
pip3 install Mastodon.py - Run
python3 register.pywith at least the--usernameand--emailparameters. - Run
python3 bot.pywith at least the--usernameparameter.
- And get rid of that time.sleep() thing in favor of actual scheduled tasks.