refactor(config): rename cookie dir to Cookies
This commit is contained in:
+1
-1
@@ -195,4 +195,4 @@ bot_stats.json
|
||||
proxies.txt
|
||||
robsec.txt
|
||||
Users/
|
||||
filesforcookie/
|
||||
Cookies/
|
||||
|
||||
@@ -5,7 +5,6 @@ from pathlib import Path
|
||||
from models.config import BotConfig
|
||||
from models.stats import BotStats
|
||||
|
||||
|
||||
BASE_DIR = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
@@ -46,7 +45,7 @@ SHOP_CHANNEL = os.getenv("SHOP_CHANNEL", "https://t.me/bot399_start_bot")
|
||||
BOT_USERNAME = os.getenv("BOT_USERNAME", "bot399_start_bot")
|
||||
|
||||
DATABASE_DIR = _resolve_path("DATABASE_DIR", "Users")
|
||||
COOKIE_FILES_DIR = _resolve_path("COOKIE_FILES_DIR", "filesforcookie")
|
||||
COOKIE_FILES_DIR = _resolve_path("COOKIE_FILES_DIR", "Cookies")
|
||||
CONFIG_FILE = _resolve_path("BOT_CONFIG_FILE", "bot_config.json")
|
||||
STATS_FILE = _resolve_path("BOT_STATS_FILE", "bot_stats.json")
|
||||
PROXIES_FILE = _resolve_path("PROXIES_FILE", "proxies.txt")
|
||||
|
||||
Reference in New Issue
Block a user