Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 602 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 602 Bytes

StateBot

A Mastodon bot that outputs information regarding the state of the network collected from collectd.

Requirements

Requires the Mastodon.py python module which you can find under that name on pypi.

Usage

To run the bot set the following environment variables:

  1. collectdAddress - The address of the collectd server
  2. collectdPort - The port of the collectd server
  3. clientID - The client id
  4. clientSecret - The client secret
  5. accessToken - The access token
  6. baseURL - The base URL

Then type the following command:

python3 StateBot.py