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