2b399fdb81
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>
17 lines
374 B
Python
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)
|