Update config validation and creation
This commit is contained in:
parent
176f6d58ef
commit
ee00d8c621
@ -29,6 +29,12 @@ except FileNotFoundError:
|
|||||||
config["BOT_INFO"] = {
|
config["BOT_INFO"] = {
|
||||||
"TOKEN": "",
|
"TOKEN": "",
|
||||||
"BOT_COLOR": "",
|
"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": ""}
|
config["LAVALINK"] = {"HOST": "", "PORT": "", "PASSWORD": ""}
|
||||||
|
@ -111,7 +111,9 @@ def create_config():
|
|||||||
"FEEDBACK_CHANNEL_ID": "",
|
"FEEDBACK_CHANNEL_ID": "",
|
||||||
"SPOTIFY_CLIENT_ID": "",
|
"SPOTIFY_CLIENT_ID": "",
|
||||||
"SPOTIFY_CLIENT_SECRET": "",
|
"SPOTIFY_CLIENT_SECRET": "",
|
||||||
"OPENAI_API_KEY" "BUG_CHANNEL_ID": "",
|
"OPENAI_API_KEY": "",
|
||||||
|
"BUG_CHANNEL_ID": "",
|
||||||
|
"BOT_INVITE_LINK": ""
|
||||||
}
|
}
|
||||||
|
|
||||||
config["LAVALINK"] = {"HOST": "", "PORT": "", "PASSWORD": ""}
|
config["LAVALINK"] = {"HOST": "", "PORT": "", "PASSWORD": ""}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user