ruff fix但指定了--unsafe-fixes

This commit is contained in:
minecraft1024a
2025-10-05 21:48:32 +08:00
parent 0b4e1f5b7b
commit 9d705463ce
76 changed files with 300 additions and 315 deletions

2
bot.py
View File

@@ -437,7 +437,7 @@ async def main_async():
exit_code = 0
main_task = None
async with create_event_loop_context() as loop:
async with create_event_loop_context():
try:
# 确保环境文件存在
ConfigManager.ensure_env_file()