mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-29 00:25:58 +08:00
12 lines
245 B
Python
12 lines
245 B
Python
|
from os import path
|
||
|
|
||
|
import nonebot
|
||
|
|
||
|
import config
|
||
|
|
||
|
if __name__ == '__main__':
|
||
|
nonebot.init(config)
|
||
|
nonebot.load_plugins(path.join(path.dirname(__file__), 'awesome', 'plugins'),
|
||
|
'awesome.plugins')
|
||
|
nonebot.run()
|