Update bot.py
This commit is contained in:
1 parent
4a27446430
commit
4abe951b3c
1 file changed
+1
-1
@@ -18,7 +18,7 @@ print(rainbow_text)
|
||||
|
||||
# 初次启动检测
|
||||
if not os.path.exists("config/bot_config.toml"):
|
||||
logger.info("检测到bot_config.toml不存在,正在从模板复制")
|
||||
logger.warning("检测到bot_config.toml不存在,正在从模板复制")
|
||||
import shutil
|
||||
|
||||
shutil.copy("templete/bot_config_template.toml", "config/bot_config.toml")
|
||||
|
||||
Reference in new issue
Block a user