修正了BOOL(布尔)值错误(again)

This commit is contained in:
SharwOrange橙夜 2024-01-09 19:38:17 +08:00
parent 5bcc24933f
commit b184661da0

View File

@ -277,7 +277,7 @@ async def add_message(data: Dict[str, Any]):
await asyncio.sleep(random.random() * 2) await asyncio.sleep(random.random() * 2)
await sio.emit('sendMessage', message.to_json()) await sio.emit('sendMessage', message.to_json())
elif data['message']['content'] == '!!jrrp': elif data['message']['content'] == '!!jrrp':
bool examSet = False examSet = False
if examSet == True: if examSet == True:
print('examSet参数被设定替换人品值') print('examSet参数被设定替换人品值')
message = Message(content=f'{sender_name} 今日人品值为 100\n为了让你安心备考加油考试今天你的人品值是100', message = Message(content=f'{sender_name} 今日人品值为 100\n为了让你安心备考加油考试今天你的人品值是100',