Update main.py

This commit is contained in:
SCUOP 2022-06-16 21:37:46 +08:00 committed by GitHub
parent 7405f605c7
commit 83cd30d0aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -322,7 +322,7 @@ upLearning.__paimon_help__ = {
}
@upLearning.handle()
async def _(bot: Bot, event: GroupMessageEvent):
if Chat.answer_threshold == 1:
if Chat.speak_threshold == 1:
Chat.answer_threshold = Chat.speak_threshold
await upLearning.finish("派蒙已经学满贯了")
else:
@ -344,7 +344,7 @@ downLearning.__paimon_help__ = {
}
@downLearning.handle()
async def _(bot: Bot, event: GroupMessageEvent):
if Chat.answer_threshold == 6:
if Chat.speak_threshold == 6:
Chat.answer_threshold = Chat.speak_threshold
await downLearning.finish("派蒙不说话就是了o( ̄ヘ ̄o)")
else: