From 5bcc24933f2c47d6422b233da75d81f03b1085f7 Mon Sep 17 00:00:00 2001 From: SharwOrange Date: Tue, 9 Jan 2024 19:32:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=BA=86BOOL=EF=BC=88?= =?UTF-8?q?=E5=B8=83=E5=B0=94=EF=BC=89=E5=80=BC=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- connect.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connect.py b/connect.py index ba9fe2d..25752d8 100644 --- a/connect.py +++ b/connect.py @@ -277,8 +277,8 @@ async def add_message(data: Dict[str, Any]): await asyncio.sleep(random.random() * 2) await sio.emit('sendMessage', message.to_json()) elif data['message']['content'] == '!!jrrp': - bool examSet = false - if examSet == true: + bool examSet = False + if examSet == True: print('examSet参数被设定,替换人品值') message = Message(content=f'{sender_name} 今日人品值为 100\n为了让你安心备考,加油考试,今天你的人品值是100!', reply_to=reply,