define players and items coordinates to be used on the map

This commit is contained in:
andrea
2025-07-27 23:34:35 +02:00
parent a7fd66e9e4
commit 5e6816269b
4 changed files with 31 additions and 15 deletions

View File

@@ -1,20 +1,27 @@
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
try: BOT_PATH= _os.path.expanduser(_bot_path)
try:
from local_settings import TOKEN as _token
TOKEN= _token
except: TOKEN= 'XXX'
try:
from local_settings import BOT_PATH as _bot_path
BOT_PATH= _os.path.expanduser(_bot_path)
except: BOT_PATH= ''
try: LOG_PATH= _os.path.expanduser(_log_path)
try:
from local_settings import LOG_PATH as _log_path
LOG_PATH= _os.path.expanduser(_log_path)
except: LOG_PATH= ''
try: BOT_EXEC_CMD= _bot_exec_cmd
try:
from local_settings import BOT_EXEC_CMD as _bot_exec_cmd
BOT_EXEC_CMD= _bot_exec_cmd
except: BOT_EXEC_CMD= None
try: SUPER_USERS= _superusers
try:
from local_settings import SUPER_USERS as _superusers
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.
Questo Bot simula Hunger Games,