a bot that sends pics of the owo tower!
https://tilde.zone/@owotowerbot
|
||
---|---|---|
.gitignore | ||
README.md | ||
bot.py | ||
config.py | ||
status.py |
README.md
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:
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