Files
Open-Assistant/discord-bot/bot/__main__.py
T
2022-12-28 16:43:14 -08:00

18 lines
289 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()