Create README.md

This commit is contained in:
LickTheCheese 2019-12-30 12:29:27 -05:00 committed by GitHub
parent 7334184e79
commit e4e2ee586f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

17
README.md Normal file
View File

@ -0,0 +1,17 @@
# owo-bot
this is a simple python script to choose random images from a directory
and post them to mastodon.
## how to use it
* make a mastodon account on your favorite instance and make an application
for the bot (`prefrences -> development`)
* git clone this repo
* copy the access token and make a file called `auth.py` and put the token
in it in this format:
```python3
token='sjfhskjuihfoisfhs-sdfgnfdg-dgndfg-dfgdfgb-hjsdbfj'
```
(replace `sjfhskjuihfoisfhs-sdfgnfdg-dgndfg-dfgdfgb-hjsdbfj` with your token)
* modify `config.py` and put your instance, image directory path and set the
messages
* run bot.py with `python3 bot.py`