mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 00:55:07 +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)
|