summaryrefslogtreecommitdiff
path: root/BOT.py
blob: e006c51d92d66bbd75a9bb42f5caa204678ebcd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import time
COPYRIGHT = (
    r"""====================[ATRI | アトリ]====================
* Mirai + NoneBot + Python
* Copyright © 2018-2020 Kyomotoi,All Rights Reserved
* Project: https://github.com/Kyomotoi/ATRI
* Blog: blog.lolihub.icu
======================================================="""
)
print(COPYRIGHT)
time.sleep(2)

import config
print("ATRI正在苏醒...")
time.sleep(2)

from os import path


if __name__ == '__main__':
    import nonebot
    nonebot.init(config)
    nonebot.load_builtin_plugins()
    nonebot.load_plugins(
        path.join(path.dirname(__file__), 'ATRI', 'plugins'),
    'ATRI.plugins')
    nonebot.run()