Commit 734c27f3 authored by Barry Peddycord III's avatar Barry Peddycord III 🍞

Update README.md

parent 5c8b5a93
# askUrza
Ask Urza is a Mastodon bot that provides scryfall lookups
Ask Urza is a Mastodon bot that provides scryfall lookups much like the Reddit
Card Fetcher Bot and various Discord and Slack bots.
Live at <a href="https://botsin.space/@askurza" rel="me">@askurza</a>
\ No newline at end of file
It has two modes, a mention mode, where it will respond specifically to posts
where it is mentioned, and a follow mode, where users can tell the bot to follow
them and jump into conversations when cards are mentioned.
## Installation
* Clone the repository
* Create `/etc/askurza.json` with the required configuration variables
* Copy `askurza.service` to `/etc/systemd/system/`
* Edit `/etc/systemd/system/askurza.service` and replace `USERNAME` with the correct values
* `User=USERNAME`
* `Group=USERNAME`
* `WorkingDirectory=/home/USERNAME/askurza/`
* `ExecStart=/home/USERNAME/askurza/askurza.py`
* Add the following lines to your crontab, and replace `USERNAME` with the correct values
```
15 4 * * 0 USERNAME (cd /home/USERNAME/askurza && wget https://archive.scryfall.com/json/scryfall-oracle-cards.json -O new.json && mv new.json scryfall-oracle-cards.json)
15 5 * * 0 root (service askurza restart)
```
* Run `service askurza start`
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment