lets get this party starteddddd (#1287)

This commit is contained in:
NotSoToothless
2026-05-30 08:45:32 -07:00
committed by GitHub
parent bd3871ef20
commit 7edc0202f4
8 changed files with 892 additions and 2 deletions
+15
View File
@@ -0,0 +1,15 @@
"""TSSBOT BOT package bootstrap.
Puts the sibling ``BOTS/SHARED`` directory on ``sys.path`` (mirroring
SREBOT/BOT/__init__.py) so shared modules like ``shared_store`` and
``data_parser`` import by bare name from anywhere that imports ``BOT.*``.
``SHARED_DIR`` is re-exported for asset-path use.
"""
import sys
from pathlib import Path
SHARED_DIR: Path = Path(__file__).resolve().parents[2] / "SHARED"
if str(SHARED_DIR) not in sys.path:
sys.path.insert(0, str(SHARED_DIR))
__all__ = ["SHARED_DIR"]