diff --git a/dislocker.py b/dislocker.py index 21eabf2..ec31dba 100644 --- a/dislocker.py +++ b/dislocker.py @@ -999,8 +999,8 @@ class Monitor(): cursor.execute("SELECT * FROM club_member WHERE member_id = %s", (member_id,)) user_info = cursor.fetchall() stop = dislocker.stop(discord_user_id=user_info[0][3], bot_about="タイムアウトでBotによる強制停止。") - discord_user_id = dislocker.get_discord_user_id(member_id=member_id)["discord_user_id"] - asyncio.run_coroutine_threadsafe(send_log(mode="timeout", pc_number=i[0], discord_user_id=discord_user_id)) + #discord_user_id = dislocker.get_discord_user_id(member_id=member_id)["discord_user_id"] + #asyncio.run_coroutine_threadsafe(send_log(mode="timeout", pc_number=i[0], discord_user_id=discord_user_id)) dislocker.log(title=f"[INFO] パスワードのタイムアウト時間に達したため、強制停止されました。", flag=0) result = {"result": "STOP", "details": str(pc_usage)} else: