Compare commits

...

2 Commits

Author SHA1 Message Date
Caleb Fultz
f07fbfbeae created README.md 2024-08-05 11:37:21 -04:00
Caleb Fultz
670c2a22fb removed unecessary import 2024-08-05 10:57:08 -04:00
2 changed files with 14 additions and 1 deletions

14
README.md Normal file
View File

@ -0,0 +1,14 @@
# Random Poké
This Mastodon bot posts random Pokémon cards from the Pokémon TCG universe.
# Requirements
- Mastodon.py
- python-dotenv
# How to use
- Install the pip requirements above.
- Create a ```.env``` file in the same directory including the lines:
token = ACCESSTOKENHERE
url=MASTODONURL
- Run the bot: ```python bot.py```

1
bot.py
View File

@ -1,7 +1,6 @@
# Import required methods # Import required methods
import random import random
import os import os
import sys
from requests import get from requests import get
from json import loads from json import loads
from shutil import copyfileobj from shutil import copyfileobj