This bot welcomes your Mastodon server new users.
Anar al arxiu
2021-05-22 13:09:25 +02:00
app/locales Added ca, es and en language support 2021-05-21 13:50:16 +02:00
db-setup.py WIP 2021-05-19 14:23:08 +02:00
LICENSE Add LICENSE 2021-05-19 13:45:02 +00:00
README.md First release 2021-05-19 15:56:56 +02:00
requirements.txt Added requirements.txt 2021-05-19 15:31:28 +02:00
setup.py WIP 2021-05-19 14:23:08 +02:00
welcome.py Don't welcome new users if they are suspended 2021-05-22 13:09:25 +02:00

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:

  1. Run pip install -r requirements.txt to install needed libraries.

  2. Run python db-setup.py to setup and create new Postgresql database and needed tables in it.

  3. 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.

  4. Run python welcome.py to check if any new users and greet them and what is the registering evolution (hourly, daily, weekly).

  5. Use your favourite scheduling method to set python welcome.py to run every hour.