refactor/support multiple discord guilds with 1 nitrado server each + better handling for NitradoAPI

This commit is contained in:
SowinskiBraeden committed 2024-04-04 20:11:48 -07:00
1 parent 71d03ffa72
commit 55c8a9ee7f
33 files changed
+888 -1028

No files matched your search

+13 -5
View File
@@ -1,8 +1,16 @@
# Discord Bot Token
token='Your Discord Bot token'
# MongoDB Information
mongoURI='Your mongodb URI'
dbo='Your mongodb database'
SERVER_ID='Your Nitrado server ID'
USER_ID='Your Nitrado user ID'
AUTH_KEY='Your Nitrado Auth Token'
GuildID='Your Discord Guild ID'
Dev=PROD. # or DEV.
# Encryption
key='Secret Encryption Key',
iv='Secret Initialization Vector',
# Other Bot Configuration
Dev=PROD. # or DEV.
# Note: "PROD." downloads Nitrado logs every 5 minutes, "DEV." checks every 15 seconds.
# Any other value for Dev will not allow the bot to run.