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

+4 -8
View File
@@ -21,16 +21,12 @@ module.exports = {
Dev: process.env.Dev || "DEV.",
Version: package.version, // (major).(minor).(patch)
Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot
ServerID: "1050215624053374976",
GuildID: process.env.GuildID || "",
SupportServer: "https://discord.gg/KVFJCvvFtK", // Support Server Link
SupportServer: "https://discord.gg/KVFJCvvFtK", // Support Server Link
Token: process.env.token || "", //Discord Bot Token
SecretKey: process.env.key || "01234567891",
SecretIv: process.env.iv || "9876543210",
EncryptionMethod: process.env.encryptionMethod || "aes-256-cbc",
Scopes: ["identify", "guilds", "applications.commands"], //Discord OAuth2 Scopes
Nitrado: {
ServerID: process.env.SERVER_ID,
UserID: process.env.USER_ID,
Auth: process.env.AUTH_KEY
},
IconURL: "",
Colors: {
Default: "#8a7c72",