修正了BOOL(布尔)值错误

This commit is contained in:
SharwOrange橙夜 2024-01-09 19:32:20 +08:00
parent 5dbd3aa87a
commit 5bcc24933f

View File

@ -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,