import nonebot
import os
import config

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

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