yt-dlp-bot/app_bot/main.py
Taras Terletsky 7a33dc0434 Version 1.5
2024-03-20 19:26:35 +02:00

20 lines
314 B
Python

#!/usr/bin/env python3
"""Bot Launcher Module."""
import asyncio
import uvloop
from bot.bot.launcher import BotLauncher
from bot.core.log import setup_logging
async def main() -> None:
setup_logging()
await BotLauncher().run()
if __name__ == '__main__':
uvloop.install()
asyncio.run(main())