|
@@ -5,11 +5,11 @@ A bot for automagically sending messages to Owncast chat, at specified intervals
|
|
|
|
|
|
### Create a config.py
|
|
|
```
|
|
|
- owncast_url = '' # The URL of your Owncast server
|
|
|
- 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.
|
|
|
+owncast_url = 'https://<url>' # The URL of your Owncast server
|
|
|
+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.
|
|
|
```
|
|
|
|
|
|
### Setup
|
|
@@ -18,7 +18,7 @@ Create your venv, we'll call it ".venv", and activate it.
|
|
|
|
|
|
```
|
|
|
pip install --upgrade pip
|
|
|
-pip install .
|
|
|
+pip install requests
|
|
|
```
|
|
|
|
|
|
### Run with:
|