Archived
1
0
Fork 0
This commit is contained in:
多羅狼 2023-05-28 13:24:29 +08:00 committed by GitHub
parent b806f98dff
commit b0409b67c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -179,11 +179,11 @@ async def _(message: Bot.MessageSession):
file = f"https://www.diving-fish.com/covers/{get_cover_len4_id(music['id'])}.png"
if len(chart['notes']) == 4:
msg = message.locale.t("maimai.message.song.sd", diff=diff_label[level_index], level=level, ds=ds,
tap=chart['notes'][0], hold=chart['notes'][1], slide=chart['notes'][2], break=chart['notes'][3],
tap=chart['notes'][0], hold=chart['notes'][1], slide=chart['notes'][2], _break=chart['notes'][3],
charter=chart['charter'])
else:
msg = message.locale.t("maimai.message.song.dx", diff=diff_label[level_index], level=level, ds=ds,
tap=chart['notes'][0], hold=chart['notes'][1], slide=chart['notes'][2], touch=chart['notes'][3], break=chart['notes'][4],
tap=chart['notes'][0], hold=chart['notes'][1], slide=chart['notes'][2], touch=chart['notes'][3], _break=chart['notes'][4],
charter=chart['charter'])
await message.finish([Plain(f"{music['id']}. {music['title']}\n"), BImage(f"{file}"), Plain(msg)])
except Exception:

View file

@ -18,6 +18,6 @@
"maimai.message.too_much": "结果过多(${length} 条),请缩小搜索范围。",
"maimai.message.user_not_found": "未找到此玩家,请确保此玩家的用户名和查分器中的用户名相同。",
"maimai.message.song": "艺术家:${artist}\n分类${genre}\nBPM${bpm}\n版本${version}\n难度${level}",
"maimai.message.song.dx": "${diff} ${level}${ds})\nTAP${tap}\nHOLD${hold}\nSLIDE${slide}\nTOUCH${touch}\nBREAK${break}\n谱师${charter}",
"maimai.message.song.sd": "${diff} ${level}${ds}\nTAP${tap}\nHOLD${hold}\nSLIDE${slide}\nBREAK${break}\n谱师${charter}"
"maimai.message.song.dx": "${diff} ${level}${ds})\nTAP${tap}\nHOLD${hold}\nSLIDE${slide}\nTOUCH${touch}\nBREAK${_break}\n谱师${charter}",
"maimai.message.song.sd": "${diff} ${level}${ds}\nTAP${tap}\nHOLD${hold}\nSLIDE${slide}\nBREAK${_break}\n谱师${charter}"
}