Extract website to SREBOT-web repo: remove web/, move seasons/locales/constants to repo root, fix imports

This commit is contained in:
clxud
2026-07-02 02:45:22 +00:00
parent c0214eaaae
commit 246a29f695
149 changed files with 4 additions and 137956 deletions
+1 -1
View File
@@ -1919,7 +1919,7 @@ async def guild_lang(guild_id: int) -> str:
# SEASON SCHEDULE (shared with web/utils/seasons.js)
# ============================================================================
SEASONS_FILE = Path(__file__).resolve().parent.parent / "web" / "constants" / "seasons"
SEASONS_FILE = Path(__file__).resolve().parent.parent / "constants" / "seasons"
_SEASON_HEADER_RE = re.compile(r"^\s*(\d{4})-(I{1,3}|IV|VI{0,3}|IX|X)\s*$")
_WEEK_LINE_RE = re.compile(