Archived
1
0
Fork 0

Update utils.py

This commit is contained in:
多羅狼 2023-12-30 19:05:29 +08:00 committed by GitHub
parent 677a6777fc
commit 26986e0768
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -537,7 +537,7 @@ async def get_grade_info(msg, grade):
condition = grade_data["condition"]
level = grade_data["level_index"]
life = grade_data["life"]
music_data = (await total_list.get()).filter(ds=(base[0], base[1]), diff=[diffs[level]])
music_data = (await total_list.get()).filter(ds=(base[0], base[1]), diff=[level])
for i in range(4):
music = music_data.random()