Skip to content

Commit

Permalink
more info about AppConstants.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Bombg committed Oct 12, 2024
1 parent 5e6bf4c commit 0ba60fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions DefaultConstants.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0ba60fd

Please sign in to comment.