From b33aba098aae9feafd77b56746b4ff5946c843cf Mon Sep 17 00:00:00 2001 From: Kyomotoi <1172294279@qq.com> Date: Tue, 28 Apr 2020 00:30:40 +0800 Subject: Initial commit --- run.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 run.py (limited to 'run.py') diff --git a/run.py b/run.py new file mode 100644 index 0000000..1f85549 --- /dev/null +++ b/run.py @@ -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() -- cgit v1.2.3