🎀修复点数设置valve报错的bug

This commit is contained in:
EillesWan 2024-07-21 17:13:31 +08:00
parent 549465ea6f
commit 36b993cd18

View File

@ -974,7 +974,7 @@ async def _(
else str(event.user_id) else str(event.user_id)
) )
cd_value = ( cd_value = (
0 if result.options["value"].value else result.options["value"].args["value"] result.options["value"].args["value"] if result.options["value"].args else 0
) )
people_convert_times[to_change] = cd_value people_convert_times[to_change] = cd_value