Files
SREBOT/start_bot.py
FURRO404 2b399fdb81 add SREBOT, SHARED, TSSBOT contents (fixup for #1223)
PR #1223 only staged the deletions of the old paths because the new
top-level directories were still untracked when the commit was authored.
This commit adds the actual restructured tree: SREBOT/ (existing bot),
SHARED/ (vromfs, data_parser, ICONS/MAPS/FONTS, DAGOR_FILES,
update_game_files), and TSSBOT/ (skeleton).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 23:17:02 -07:00

17 lines
374 B
Python

#!/usr/bin/env python3
"""Entry point for SREBOT Discord Bot."""
import sys
from pathlib import Path
# Ensure project root is in path
sys.path.insert(0, str(Path(__file__).parent))
from BOT.botscript import bot, TOKEN
if __name__ == "__main__":
if TOKEN:
bot.run(TOKEN)
else:
print("ERROR: DISCORD_KEY not set in environment")
sys.exit(1)