Create README.md
This commit is contained in:
parent
7334184e79
commit
e4e2ee586f
|
@ -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`
|
Loading…
Reference in New Issue