mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-03 17:10:10 +08:00
17 lines
266 B
Python
17 lines
266 B
Python
"""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()
|