better loggings but i need to fix a duplicate log line error

This commit is contained in:
andrea
2025-07-27 08:56:40 +02:00
parent 24f0f3e3e1
commit 4639d85f00
3 changed files with 16 additions and 7 deletions

View File

@@ -1,12 +1,19 @@
import os as _os
from local_settings import TOKEN as _token
from local_settings import BOT_PATH as _bot_path
from local_settings import LOG_PATH as _log_path
from local_settings import BOT_EXEC_CMD as _bot_exec_cmd
from local_settings import SUPER_USERS as _superusers
TOKEN= _token
BOT_PATH= _bot_path
BOT_EXEC_CMD= _bot_exec_cmd
SUPER_USERS= _superusers
try: BOT_PATH= _os.path.expanduser(_bot_path)
except: BOT_PATH= ''
try: LOG_PATH= _os.path.expanduser(_log_path)
except: LOG_PATH= ''
try: BOT_EXEC_CMD= _bot_exec_cmd
except: BOT_EXEC_CMD= None
try: SUPER_USERS= _superusers
except: SUPER_USERS= []
START_MSG= """Benvenuto nel crudele mondo di Battle Royal Simulator,
La tua avventura e quella dei tuoi compagni inizia qui.