72833465dc2d61cbc38acd95d4a3da12ea271cd6
TSSBOT has no node_modules/ on the server (no package.json was ever
installed for it), so `require('dotenv').config()` crashes pm2 with
MODULE_NOT_FOUND when it loads the ecosystem file. The dotenv call was
already dead code: every spawned app loads its own .env in its own
process (botscript.py, server.js, web/server.js, webhook updater,
TSSBOT/start_bot.py all do load_dotenv / require('dotenv').config()
themselves). Remove the require from both ecosystem files.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
TSSBOT
Sibling bot under BOTS/. Skeleton only — actual logic to be implemented.
Shared game-data assets (vromfs, data parser, MAPS, ICONS, FONTS, DAGOR_FILES,
update_game_files.py) live in ../SHARED/. Add ../SHARED to sys.path
before importing data_parser:
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parents[2] / "SHARED"))
from data_parser import UnitTags, LangTableReader # etc.
Layout
BOT/— Python source for the bot (placeholder)web/— front-end / API server for TSSBOT (placeholder)start_bot.py— entry point stub
Description
Languages
Python
99.3%
JavaScript
0.4%
Shell
0.3%