From ee00d8c621a987674a9e1921f660f954c1e911e8 Mon Sep 17 00:00:00 2001 From: Parker Date: Wed, 19 Jun 2024 13:13:09 -0500 Subject: [PATCH] Update config validation and creation --- code/global_variables.py | 6 ++++++ code/validate_config.py | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/code/global_variables.py b/code/global_variables.py index d2cbab4..8f3bb9a 100644 --- a/code/global_variables.py +++ b/code/global_variables.py @@ -29,6 +29,12 @@ except FileNotFoundError: config["BOT_INFO"] = { "TOKEN": "", "BOT_COLOR": "", + "FEEDBACK_CHANNEL_ID": "", + "SPOTIFY_CLIENT_ID": "", + "SPOTIFY_CLIENT_SECRET": "", + "OPENAI_API_KEY": "", + "BUG_CHANNEL_ID": "", + "BOT_INVITE_LINK": "" } config["LAVALINK"] = {"HOST": "", "PORT": "", "PASSWORD": ""} diff --git a/code/validate_config.py b/code/validate_config.py index 80264e9..c0c38c5 100644 --- a/code/validate_config.py +++ b/code/validate_config.py @@ -111,7 +111,9 @@ def create_config(): "FEEDBACK_CHANNEL_ID": "", "SPOTIFY_CLIENT_ID": "", "SPOTIFY_CLIENT_SECRET": "", - "OPENAI_API_KEY" "BUG_CHANNEL_ID": "", + "OPENAI_API_KEY": "", + "BUG_CHANNEL_ID": "", + "BOT_INVITE_LINK": "" } config["LAVALINK"] = {"HOST": "", "PORT": "", "PASSWORD": ""}