mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 03:26:18 +08:00
11 lines
169 B
Python
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)
|