Update config validation and creation

This commit is contained in:
Parker M. 2024-06-19 13:13:09 -05:00
parent 176f6d58ef
commit ee00d8c621
2 changed files with 9 additions and 1 deletions

View File

@ -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": ""}

View File

@ -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": ""}