mirror of
https://github.com/N1ngYu/SaltBot.git
synced 2025-09-28 08:42:40 +08:00
Fix: Powered by Project Fragrance
This commit is contained in:
@@ -68,43 +68,43 @@ async def handle_firstfunc(event: GroupMessageEvent,args: Message = Arg()):
|
||||
await upload_score.send("1")
|
||||
else:
|
||||
await upload_score.send("请输入乐曲ID")
|
||||
|
||||
#Powered by Project Fragrance
|
||||
|
||||
@upload_score.got("music_id", prompt="请输入乐曲id")
|
||||
async def got_id(state: T_State):
|
||||
music_data["musicId"] = state["music_id"]
|
||||
await upload_score.send("请输入乐曲等级(0=Basic,1=Advanced,2=Expert,3=Master,4=Re:Master)")
|
||||
|
||||
#Powered by Project Fragrance
|
||||
@upload_score.got("music_level", prompt="请输入乐曲等级(0=Basic,1=Advanced,2=Expert,3=Master,4=Re:Master)")
|
||||
async def got_level(state: T_State):
|
||||
music_data["level"] = state["music_level"]
|
||||
await upload_score.send("请输入乐曲游玩次数")
|
||||
|
||||
#Powered by Project Fragrance
|
||||
@upload_score.got("music_count", prompt="请输入乐曲游玩次数")
|
||||
async def got_count(state: T_State):
|
||||
music_data["playCount"] = state["music_count"]
|
||||
await upload_score.send("请输入乐曲acc")
|
||||
|
||||
#Powered by Project Fragrance
|
||||
@upload_score.got("music_acc", prompt="请输入乐曲acc")
|
||||
async def got_acc(state: T_State):
|
||||
music_data["achievement"] = state["music_acc"]
|
||||
await upload_score.send("请输入乐曲combo状态(0=无,1=FC,2=FC+,3=AP,4=AP+)")
|
||||
|
||||
#Powered by Project Fragrance
|
||||
@upload_score.got("music_combo", prompt="请输入乐曲combo状态((0=无,1=FC,2=FC+,3=AP,4=AP+)")
|
||||
async def got_combo(state: T_State):
|
||||
music_data["comboStatus"] = state["music_combo"]
|
||||
await upload_score.send("请输入乐曲sync状态(0=无,1=FS,2=FS+,3=FDX,4=FDX+,5=SYNCPLAY)")
|
||||
|
||||
#Powered by Project Fragrance
|
||||
@upload_score.got("music_sync", prompt="请输入乐曲sync状态((0=无,1=FS,2=FS+,3=FDX,4=FDX+,5=SYNCPLAY)")
|
||||
async def got_sync(state: T_State):
|
||||
music_data["syncStatus"] = state["music_sync"]
|
||||
await upload_score.send("请输入乐曲dx分")
|
||||
|
||||
#Powered by Project Fragrance
|
||||
@upload_score.got("music_dx", prompt="请输入乐曲dx分")
|
||||
async def got_dx(state: T_State):
|
||||
music_data["deluxscoreMax"] = state["music_dx"]
|
||||
await upload_score.send("请输入rank(13=SSS+,12=SSS,以此类推)")
|
||||
|
||||
#Powered by Project Fragrance
|
||||
@upload_score.got("music_rank", prompt="请输入rank(13=SSS+,12=SSS,以此类推)")
|
||||
async def got_rank(state: T_State,event: GroupMessageEvent):
|
||||
user_qq = event.get_user_id()
|
||||
@@ -119,7 +119,7 @@ async def got_rank(state: T_State,event: GroupMessageEvent):
|
||||
await upload_score.send("上传成功~")
|
||||
else:
|
||||
await upload_score.send("出错了...请联系机修")
|
||||
|
||||
#Powered by Project Fragrance
|
||||
|
||||
'''
|
||||
@upload_score.got("music_rank", prompt="请输入乐曲分数排名")
|
||||
|
||||
Reference in New Issue
Block a user