blob: 41be08f2a2f4446fba60be45b3bf3c5dfa317aab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# -*- coding:utf-8 -*-
import nonebot
from AyaBot import config
from AyaBot.plugins import module
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()
|