Files
vibe-bot/vibe_bot/main.py
T
2026-08-19 13:16:43 -04:00

19 lines
471 B
Python

"""Entrypoint: validate config, configure logging, build and run the bot."""
from __future__ import annotations
from vibe_bot.app import build_bot, configure_logging, create_app
from vibe_bot.config import DISCORD_TOKEN, validate_config
def main() -> None:
"""Validate config, then build and run the Discord bot."""
validate_config()
configure_logging()
app = create_app()
build_bot(app).run(DISCORD_TOKEN)
if __name__ == "__main__":
main()