From 0ba60fd4637b7a1181736f91740b3344cafbebcb Mon Sep 17 00:00:00 2001 From: Joshua Gottlieb Date: Sat, 12 Oct 2024 13:07:40 -0500 Subject: [PATCH] more info about AppConstants.py --- DefaultConstants.py | 1 + README.MD | 1 + 2 files changed, 2 insertions(+) diff --git a/DefaultConstants.py b/DefaultConstants.py index dc10e09..0511f25 100644 --- a/DefaultConstants.py +++ b/DefaultConstants.py @@ -1,4 +1,5 @@ class Constants: + # COPY THIS FILE AND CREATE YOUR OWN VERSION NAMED AppConstants.py THAT WAY YOU CAN PULL CHANGES WITHOUT OVERWRITING SETTINGS TEST_SERVER = False SASSBOT_LOG_LEVEL = 20 # DEBUG = 10, INFO = 20, WARNING = 30, ERROR = 40, CRITICAL = 50 OTHER_LIBRARIES_LOG_LEVEL = 20 # DEBUG = 10, INFO = 20, WARNING = 30, ERROR = 40, CRITICAL = 50 diff --git a/README.MD b/README.MD index 7d95413..f61212d 100644 --- a/README.MD +++ b/README.MD @@ -65,6 +65,7 @@ 4. In the Constants.py file, change the GUILD_ID value to the guild id of your server, and each platform NOTIFICATION_CHANNEL_ID to the channel ID you want alerts posted to. To easily get both of these IDs, in discord advanced options turn on developer mode. After that you can right click servers/channels and a new option to copy the IDs will be available. Also edit and add vairus URLs to your streamer in Constants.py. Everything is described in comments. + - After editing constants you can create a copy called AppConstants.py - This will be used before DefaultConstants.py. So you can pull changes without stashing or overwriting 5. Generate the database with 'python GenerateDatabase.py' or 'python3 GenerateDatabase.py' 6. Replace images in the image folder with those of your streamer, but keep same file names. - images/errIcon.png - icon used for embeds if there is an issue getting one from the platform, or if one doesn't exist