mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-11 01:27:29 +08:00
🎀修复点数设置valve报错的bug
This commit is contained in:
parent
549465ea6f
commit
36b993cd18
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user