mirror of
https://github.com/cfultz/MTGRandomScryfallBot.git
synced 2024-11-21 15:50:03 +01:00
Updated README
This commit is contained in:
parent
d2545867be
commit
00ec82456c
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
.env
|
||||
|
11
README.md
11
README.md
@ -6,12 +6,19 @@ The is a Mastodon bot that pulls a random Magic: The Gathering card from Scryfal
|
||||
|
||||
## Requirments
|
||||
- Mastodon.py (pip install Mastodon)
|
||||
- python-dotenv (pip install python-dotenv)
|
||||
|
||||
|
||||
## How to Use
|
||||
|
||||
- Clone repository
|
||||
- Create file called ``token.secret`` and place Mastodon Access Token inside
|
||||
- Change ``api_url_endpoint`` in ``MTGMastodonBot.py`` to your instance URL
|
||||
- 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
|
||||
|
Loading…
Reference in New Issue
Block a user