A bot for automagically sending messages to Owncast chat, at specified intervals.
|
преди 4 дни | |
---|---|---|
.gitignore | преди 1 месец | |
License | преди 1 месец | |
README.md | преди 4 дни | |
nagbot.py | преди 4 дни | |
pyproject.toml | преди 4 дни |
A bot for automagically sending messages to Owncast chat, at specified intervals.
logfile = '' # /full/path/to/logfile.txt
auth_bearer = '' # The API authentication code for your Owncast server's API.
nags = ['this is a message', 'this is another message'] # A list of messages to be cycled through
interval = # The interval, in seconds, between messages. It's an integer, so no quotes.
Create your venv, we'll call it ".venv", and activate it.
pip install --upgrade pip
pip install .
.venv/bin/python nagbot.py