Ver código fonte

Removed mgmt code, added indieauth variables and descriptions

deadtom 2 semanas atrás
pai
commit
de2a5204bc
1 arquivos alterados com 3 adições e 2 exclusões
  1. 3 2
      ownchatbot/defaults/config.py

+ 3 - 2
ownchatbot/defaults/config.py

@@ -1,13 +1,14 @@
 # Owncast stuff. Get this information from your Owncast admin panel
-ACCESS_TOKEN = ''  # Get from your Owncast Admin panel -> Integrations -> Access Tokens
+ACCESS_TOKEN = ''  # Create one of these at your Owncast Admin panel -> Integrations -> Access Tokens
 OWNCAST_URL = ''  # Either your external Owncast URL, or your local Owncast URL with the proper port number. (Example: http://localhost:8080)
+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
+INDIEAUTH_CLIENT_SECRET = ''  # The access token you created for INDIEAUTH_CLIENT_ID
 
 # OwnchatBot Configuration
 POINTS_INTERVAL = 5  # How long, in minutes, between points awards
 POINTS_AWARD = 5  # How many points awarded each interval?
 SECRET_KEY = ''  # Needed for internal flask stuff. Generated during setup. DO NOT CHANGE
 PREFIX = '!'  # Preceeds commands, so OwnchatBot knows what is a command
-MGMT_AUTH = ''  # Needed to access the OwnchatBot management panel. See README.md for more details.
 GUNICORN = True    # Integrate OwnchatBot logging into Gunicorn
 KOFI_TOKEN = ''  # Needed to validate Ko-fi with OCB webhook. Get from Ko-fi Settings -> More -> API -> Webhooks -> Advanced - Verification Token.
 KOFI_INTEGRATION = False  # Integrate OwnchatBot with Ko-fi