修改bot启动后的日志提示
This commit is contained in:
parent
5bc487c9ca
commit
d29eb68faa
4
bot.py
4
bot.py
@ -1,6 +1,6 @@
|
||||
import nonebot
|
||||
from nonebot.adapters.qq import Adapter as QQ
|
||||
from nonebot.adapters.onebot.v11 import Adapter as Onebot
|
||||
from nonebot.adapters.qq import Adapter as QQ
|
||||
from nonebot.log import logger
|
||||
|
||||
# 初始化 NoneBot 以及 数据库
|
||||
@ -19,5 +19,5 @@ nonebot.load_plugins("src/plugins") # 加载bot自定义插件
|
||||
nonebot.load_from_toml("pyproject.toml")
|
||||
|
||||
if __name__ == "__main__":
|
||||
logger.warning("Bot启动")
|
||||
logger.warning("Bot启动成功")
|
||||
nonebot.run()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user