nonebot2/run.py
2018-06-15 06:58:24 +08:00

11 lines
169 B
Python

import config
import none
bot = none.create_bot(config)
none.load_plugins()
app = bot.asgi
if __name__ == '__main__':
bot.run(host=config.HOST, port=config.PORT)