修正了BOOL(布尔)值错误
This commit is contained in:
parent
5dbd3aa87a
commit
5bcc24933f
|
@ -277,8 +277,8 @@ 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
|
bool 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!',
|
||||||
reply_to=reply,
|
reply_to=reply,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user