summaryrefslogtreecommitdiff
path: root/run.py
blob: b44f2584f14cd50825965da5c85e97eb48e9caf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import nonebot
from AyaBot import config
from os import path


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