yt-dlp-bot/bot/main.py

16 lines
267 B
Python
Raw Normal View History

2022-02-04 06:21:27 +08:00
#!/usr/bin/env python3
"""Bot Launcher Module."""
import asyncio
from core.bot import BotLauncher
2022-06-11 04:35:48 +08:00
from core.utils 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())