mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
Update main.py
This commit is contained in:
parent
7405f605c7
commit
83cd30d0aa
@ -322,7 +322,7 @@ upLearning.__paimon_help__ = {
|
|||||||
}
|
}
|
||||||
@upLearning.handle()
|
@upLearning.handle()
|
||||||
async def _(bot: Bot, event: GroupMessageEvent):
|
async def _(bot: Bot, event: GroupMessageEvent):
|
||||||
if Chat.answer_threshold == 1:
|
if Chat.speak_threshold == 1:
|
||||||
Chat.answer_threshold = Chat.speak_threshold
|
Chat.answer_threshold = Chat.speak_threshold
|
||||||
await upLearning.finish("派蒙已经学满贯了")
|
await upLearning.finish("派蒙已经学满贯了")
|
||||||
else:
|
else:
|
||||||
@ -344,10 +344,10 @@ downLearning.__paimon_help__ = {
|
|||||||
}
|
}
|
||||||
@downLearning.handle()
|
@downLearning.handle()
|
||||||
async def _(bot: Bot, event: GroupMessageEvent):
|
async def _(bot: Bot, event: GroupMessageEvent):
|
||||||
if Chat.answer_threshold == 6:
|
if Chat.speak_threshold == 6:
|
||||||
Chat.answer_threshold = Chat.speak_threshold
|
Chat.answer_threshold = Chat.speak_threshold
|
||||||
await downLearning.finish("派蒙不说话就是了o( ̄ヘ ̄o#)")
|
await downLearning.finish("派蒙不说话就是了o( ̄ヘ ̄o#)")
|
||||||
else:
|
else:
|
||||||
Chat.speak_threshold += 1
|
Chat.speak_threshold += 1
|
||||||
Chat.answer_threshold = Chat.speak_threshold
|
Chat.answer_threshold = Chat.speak_threshold
|
||||||
await downLearning.finish("知道了知道了,旅行者就是嫌派蒙吵了")
|
await downLearning.finish("知道了知道了,旅行者就是嫌派蒙吵了")
|
||||||
|
Loading…
Reference in New Issue
Block a user