To use, mention the bot with a message that contains at least one Magic card name wrapped in either [[square brackets]] or {{curly braces}}. It will search Scryfall for the card and reply with the result. Alternatively, follow the bot, and it will follow you back. Any posts it sees with that syntax in its home timeline will also be processed. Finally, if you made a post that you intended to be scanned, but wasn't because you forgot to mention the bot, reply to that post while mentioning the bot and the text "last", "back", "parent" or "up".
- Obtain a `client_key`, `client_secret` and `access_token` for the API for the instance you'll be running the bot on. Copy `config.sample.py` to `config.py` and include those values. Set the instance as well, if it's not https://botsin.space.
- Install and enable the included mtgcardlookup.service with systemd, replacing the `ExecStart`, `WorkingDirectory`, and `User` values with those for your system
- [OPTIONAL] Write an introduction thread to be pinned
- Create a new file called pinned_thread.txt
- Write each status of the introduction thread, separated by `\n-----\n`
- Run `./mtgcardlookup --update-pins`. The thread will be posted and pinned
- In the future, you can modify pinned_thread.txt and rerun the command. The existing thread will be unpinned and the modified one will be posted and pinned.