mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-28 08:15:03 +08:00
小问题
This commit is contained in:
parent
886213f38d
commit
eaefd4b9fe
@ -505,7 +505,7 @@ async def _(
|
||||
def go_chk_point() -> bool:
|
||||
res, pnt = query_convert_points(
|
||||
usr_id,
|
||||
"music",
|
||||
"structure",
|
||||
random.random() % 0.4 + 0.1,
|
||||
)
|
||||
if not res:
|
||||
@ -576,7 +576,7 @@ async def _(
|
||||
fp := str(
|
||||
(
|
||||
temporary_dir
|
||||
/ (fn := "msctr[{}]-{}.zip".format(hanzi_timeid(), usr_id))
|
||||
/ (fn := "struct[{}]-{}.zip".format(hanzi_timeid(), usr_id))
|
||||
).resolve()
|
||||
),
|
||||
)
|
||||
@ -639,10 +639,10 @@ async def _(
|
||||
"转换结束,当前剩余转换点数:⌊p⌋≈{:.2f}|{}".format(
|
||||
query_convert_points(
|
||||
usr_id,
|
||||
"music",
|
||||
"structure",
|
||||
0,
|
||||
)[1],
|
||||
configdict["maxPersonConvert"]["music"],
|
||||
configdict["maxPersonConvert"]["structure"],
|
||||
)
|
||||
),
|
||||
at_sender=True,
|
||||
|
@ -95,9 +95,9 @@ else:
|
||||
"donateSite": "",
|
||||
"helpPicPath": "https://foruda.gitee.com/images/1685873169584963569/95fe9b0b_9911226.png",
|
||||
"maxCacheSize": 1048576,
|
||||
"maxCacheTime": {".mcfunction": 900, ".mid .midi": 1800, ".json": 1800},
|
||||
"maxCacheTime": {".mcfunction .txt": 900, ".mid .midi": 1800, ".json": 1800},
|
||||
"maxSingleFileSize": {
|
||||
".mcfunction": 524288,
|
||||
".mcfunction .txt": 524288,
|
||||
".mid .midi": 131072,
|
||||
".json": 8192,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user