mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-24 09:05:04 +08:00
18 lines
266 B
Python
18 lines
266 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
import os
|
|
import sys
|
|
|
|
sys.path.insert(0, os.path.abspath(".."))
|
|
|
|
import nonebot
|
|
|
|
nonebot.init()
|
|
app = nonebot.get_asgi()
|
|
|
|
nonebot.load_plugins("test_plugins")
|
|
|
|
if __name__ == "__main__":
|
|
nonebot.run(app="bot:app")
|