@@ -22,7 +22,7 @@ def live_now(): # Check if the stream is live
def send_msg(msg):
if live_now() is True:
- logging.info(f'{get_now()} - Sending \"{nag}\"...')
+ logging.info(f'{get_now()} - Sending \"{msg}\"...')
new_status = {'body': msg}
headers = {'Authorization': f'Bearer {config.auth_bearer}'}
response = requests.post(f'{config.owncast_url}/api/integrations/chat/send', data=json.dumps(new_status), headers=headers)