This bot welcomes your Mastodon server new users.
app/locales | ||
db-setup.py | ||
LICENSE | ||
README.md | ||
requirements.txt | ||
setup.py | ||
welcome.py |
Welcome
This bot welcomes your Mastodon server new users and post registering evolution hourly, daily and weekly.
Dependencies
- Python 3
- Postgresql server
- Mastodon running server
- Mastodon server's Bot account
Usage:
Within Python Virtual Environment:
-
Run
pip install -r requirements.txt
to install needed libraries. -
Run
python db-setup.py
to setup and create new Postgresql database and needed tables in it. -
Run
python setup.py
to get your bot's access token of your Mastodon server existing account. It will be saved to 'secrets/secrets.txt' for further use. -
Run
python welcome.py
to check if any new users and greet them and what is the registering evolution (hourly, daily, weekly). -
Use your favourite scheduling method to set
python welcome.py
to run every hour.