changed db to data

This commit is contained in:
phixxy 2024-01-20 00:36:56 -08:00
parent 31962d33c6
commit 74c2cf79e2

View file

@ -185,8 +185,8 @@ async def chat_response(ctx, channel_vars, chat_history_string):
await handle_error(error) await handle_error(error)
async def folder_setup(): async def folder_setup():
# Only tmp, extensions and db are supported, all other folders only exist for backwards compatibility and will be removed soon! # Only tmp, extensions and data are supported, all other folders only exist for backwards compatibility and will be removed soon!
folder_names = ["tmp", "extensions", "db", "plugins", "tmp/sfw", "tmp/nsfw", "tmp/meme", "channels", "users", "channels/config", "channels/logs", "databases", "databases/currency", "databases/currency/players"] folder_names = ["tmp", "extensions", "data", "plugins", "tmp/sfw", "tmp/nsfw", "tmp/meme", "channels", "users", "channels/config", "channels/logs", "databases", "databases/currency", "databases/currency/players"]
for folder_name in folder_names: for folder_name in folder_names:
if not os.path.exists(folder_name): if not os.path.exists(folder_name):
os.mkdir(folder_name) os.mkdir(folder_name)