info/README.md

32 líneas
696 B
Markdown

# Info
This code publish information of the Mastodon instance where the bot has its account, if requested.
The bot listen to 'info' word key:
@bot_username info
and then reply following information:
Registered users
Active users (MAU)
LocalPosts
2022-08-05 19:41:43 +02:00
Instance's peers
Mastodon's version
Registration Opened/Closed
### Dependencies
- **Python 3**
- Mastodon account
### Usage:
Within Python Virtual Environment:
2022-08-06 07:33:46 +02:00
1. Run `pip install -r requirements.txt` to install needed libraries.
2022-08-06 07:33:46 +02:00
2. Run `python info.py` manually once to bot setup and get its access token to Mastodon instance.
3. Use your favourite scheduling method to set `python info.py` to run every minute.