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
Go to file
2024-08-03 20:20:27 -04:00
.gitignore Updated README 2024-08-03 20:20:27 -04:00
LICENSE Initial Commit 2024-02-09 09:08:18 -05:00
MTGMastodonBot.py Updated the bot to also be able to random cards from specific sets 2024-08-03 20:17:32 -04:00
README.md Updated README 2024-08-03 20:20:27 -04:00
screenshot.jpg Fixed README.md 2024-02-09 09:11:37 -05:00

MTG Random Scryfall Bot

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.

Screenshot

Requirments

  • Mastodon.py (pip install Mastodon)
  • python-dotenv (pip install python-dotenv)

How to Use

  • Clone repository

  • Create file called .env and place Mastodon Access Token and API URL inside

    token = RANDOMTOKENHERE
    url = MASTODONURLHERE
    
  • Save and run the bot. eg: python MTGMastodonBot.py

TODO

  • Add ability to have the bot respond to specific card search queries from users and reply
  • ???