18 lines
636 B
Markdown
18 lines
636 B
Markdown
# 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`
|