config.py 1.2 KB

123456789101112131415
  1. # Owncast stuff. Get this information from your Owncast admin panel
  2. ACCESS_TOKEN = '' # Create one of these at your Owncast Admin panel -> Integrations -> Access Tokens
  3. OWNCAST_URL = '' # Either your external Owncast URL, or your local Owncast URL with the proper port number. (Example: http://localhost:8080)
  4. INDIEAUTH_CLIENT_ID = '' # Create a new access token at Owncast Admin panel -> Integrations -> Access Tokens, this variable is the name you associate with that token
  5. INDIEAUTH_CLIENT_SECRET = '' # The access token you created for INDIEAUTH_CLIENT_ID
  6. # OwnchatBot Configuration
  7. POINTS_INTERVAL = 5 # How long, in minutes, between points awards
  8. POINTS_AWARD = 5 # How many points awarded each interval?
  9. SECRET_KEY = '' # Needed for internal flask stuff. Generated during setup. DO NOT CHANGE
  10. PREFIX = '!' # Preceeds commands, so OwnchatBot knows what is a command
  11. GUNICORN = True # Integrate OwnchatBot logging into Gunicorn
  12. KOFI_TOKEN = '' # Needed to validate Ko-fi with OCB webhook. Get from Ko-fi Settings -> More -> API -> Webhooks -> Advanced - Verification Token.
  13. KOFI_INTEGRATION = False # Integrate OwnchatBot with Ko-fi
  14. FOLLOW_POINTS = '50' # How many points to award viewers for following