blob: 38b36d88e6299b42f92246f2614807d7220074be (
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
28
29
30
31
32
|
#!/usr/bin/env python3
# -*- encoding: utf-8 -*-
'''
@File : bot.py
@Time : 2020/10/11 14:36:01
@Author : Kyomotoi
@Contact : kyomotoiowo@gmail.com
@Github : https://github.com/Kyomotoi
@License : Copyright © 2018-2020 Kyomotoi, All Rights Reserved.
'''
__author__ = 'kyomotoi'
import time
COPYRIGHT = (
r"""====================[ATRI | アトリ]====================
* Mirai + NoneBot2 + Python
* Copyright © 2018-2020 Kyomotoi,All Rights Reserved
* Project: https://github.com/Kyomotoi/ATRI
* Blog: blog.lolihub.icu
=======================================================""")
print(COPYRIGHT)
time.sleep(2)
import nonebot
nonebot.init()
app = nonebot.get_asgi()
nonebot.load_plugins("ATRI/plugins")
if __name__ == "__main__":
nonebot.run(app="bot:app")
|