MTGRandomScryfallBot/README.md

28 lines
670 B
Markdown
Raw Normal View History

2024-02-09 15:08:18 +01: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](screenshot.jpg)
## Requirments
- Mastodon.py (pip install Mastodon)
2024-08-04 02:20:27 +02:00
- python-dotenv (pip install python-dotenv)
2024-02-09 15:08:18 +01:00
## How to Use
- Clone repository
2024-08-04 02:20:27 +02:00
- Create file called ``.env`` and place Mastodon Access Token and API URL inside
```
token = RANDOMTOKENHERE
url = MASTODONURLHERE
```
2024-02-09 15:08:18 +01:00
- 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
- ???