mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-09 00:20:03 +08:00
18 lines
290 B
Python
18 lines
290 B
Python
# -*- coding: utf-8 -*-
|
|
"""Entry point for the bot."""
|
|
import logging
|
|
import os
|
|
|
|
from bot.bot import bot
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
if __name__ == "__main__":
|
|
if os.name != "nt":
|
|
import uvloop
|
|
|
|
uvloop.install()
|
|
|
|
logger.info("Starting bot")
|
|
bot.run()
|