NotSoToothless a7de9ecad2 Auto merge dev → main (#1226)
* add tssbot PM2 entry + extend webhook updater to handle TSSBOT

- TSSBOT/ecosystem.config.js: defines just the tssbot app for now.
  Uses system python3 (skeleton has no deps); switch to .venv/bin/python
  once TSSBOT/BOT/botscript.py and a real dependency set exist.
- TSSBOT/start_bot.py: change the stub from exit-immediately to an
  idle loop with SIGTERM/SIGINT handling so PM2 doesn't restart-loop
  the placeholder.
- SREBOT/github_webhook_updater.py: same listener handles the whole
  monorepo. Add a tssbot restart rule that triggers on TSSBOT/BOT/,
  TSSBOT root .py, TSSBOT/start_bot.py, TSSBOT/ecosystem.config.js,
  or SHARED/ changes. A push to SHARED restarts both bots; pushes
  scoped to one bot only restart that bot.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* update game files and start tssbot

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 23:49:54 -07:00
2026-05-13 23:49:54 -07:00

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
S
Description
TSS Discord Bot - TSS game data and tournaments
Readme 1.5 MiB
Languages
Python 99.3%
JavaScript 0.4%
Shell 0.3%