From a3838cec8eba90936a864f01ee44d3f93410af6e Mon Sep 17 00:00:00 2001 From: Kyomotoi <1172294279@qq.com> Date: Sun, 18 Oct 2020 16:40:41 +0800 Subject: Rename BOT.py to bot.py --- BOT.py | 32 -------------------------------- bot.py | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 BOT.py create mode 100644 bot.py diff --git a/BOT.py b/BOT.py deleted file mode 100644 index 38b36d8..0000000 --- a/BOT.py +++ /dev/null @@ -1,32 +0,0 @@ -#!/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") diff --git a/bot.py b/bot.py new file mode 100644 index 0000000..38b36d8 --- /dev/null +++ b/bot.py @@ -0,0 +1,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") -- cgit v1.2.3