The is a Mastodon bot that pulls a random Magic: The Gathering card from Scryfall and toots it correctly to a Mastodon instance with full description and hashtags.
- Mastodon.py (pip install Mastodon)
- python-dotenv (pip install python-dotenv)
-
Clone repository
-
Create file called
.env
and place Mastodon Access Token and API URL insidetoken = RANDOMTOKENHERE url = MASTODONURLHERE
-
Save and run the bot. eg:
python MTGMastodonBot.py
- Add ability to have the bot respond to specific card search queries from users and reply
- ???