yt-dlp-bot/app_bot/main.py

16 lines
273 B
Python
Raw Normal View History

2022-02-04 06:21:27 +08:00
#!/usr/bin/env python3
"""Bot Launcher Module."""
import asyncio
from bot.core.bot import BotLauncher
from bot.core.log import setup_logging
2022-02-04 06:21:27 +08:00
async def main() -> None:
setup_logging()
await BotLauncher().run()
if __name__ == '__main__':
asyncio.run(main())