import nonebot,config
from os import path

if __name__=='__main__':
	nonebot.init(config)
	nonebot.load_builtin_plugins()
	# print('test:',__file__)
	nonebot.load_plugins(path.join(path.dirname(__file__),'plugins'),'plugins')
	nonebot.run()