blob: 1f85549a7edec4898c51b3616d10385b5181fbfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
import nonebot
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()
|