blob: e7eefb22f1ceab169f27fbab12d07f6fd76b0a70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# -*- coding:utf-8 -*-
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()
|