diff options
author | Kyomotoi <[email protected]> | 2020-04-28 00:30:40 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2020-04-28 00:30:40 +0800 |
commit | b33aba098aae9feafd77b56746b4ff5946c843cf (patch) | |
tree | 3bab5ebd949c0fc201711de3528555fc54bb5a52 /run.py | |
download | ATRI-b33aba098aae9feafd77b56746b4ff5946c843cf.tar.gz ATRI-b33aba098aae9feafd77b56746b4ff5946c843cf.tar.bz2 ATRI-b33aba098aae9feafd77b56746b4ff5946c843cf.zip |
Initial commit
Diffstat (limited to 'run.py')
-rw-r--r-- | run.py | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,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() |