Update config validation and creation
This commit is contained in:
parent
176f6d58ef
commit
ee00d8c621
@ -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": ""}
|
||||
|
@ -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": ""}
|
||||
|
Loading…
x
Reference in New Issue
Block a user