yt-dlp-bot/app_bot/main.py
Taras Terletskyi 26371b2a0a Version 1.4.1
2023-03-29 22:53:10 +03:00

19 lines
309 B
Python

#!/usr/bin/env python3
"""Bot Launcher Module."""
import asyncio
import uvloop
from bot.core.bot 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())