mirror of
https://github.com/tropicoo/yt-dlp-bot.git
synced 2024-11-14 11:45:18 +08:00
18 lines
309 B
Python
18 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())
|